按规划继续工作
结论:补齐 INI 面板中 TOOL_TABLE 字段的 LinuxCNC WASM 查询展示和浏览器验证。
This commit is contained in:
@@ -260,6 +260,22 @@ TOOL_TABLE = browser-tool.tbl
|
||||
);
|
||||
|
||||
uiDocument.getElementById("ini-editor").value = iniText;
|
||||
uiDocument.getElementById("query").click();
|
||||
await waitFor(
|
||||
() => uiDocument.getElementById("log")?.textContent.includes("Queried LinuxCNC INI fields"),
|
||||
"INI field query",
|
||||
);
|
||||
assertEqual(
|
||||
uiDocument.getElementById("field-parameter-file").textContent,
|
||||
"browser-linuxcnc.var",
|
||||
"UI queried parameter file",
|
||||
);
|
||||
assertEqual(
|
||||
uiDocument.getElementById("field-tool-table").textContent,
|
||||
"browser-tool.tbl",
|
||||
"UI queried tool table",
|
||||
);
|
||||
|
||||
uiDocument.getElementById("save-machine-files").click();
|
||||
await waitFor(
|
||||
() => uiDocument.getElementById("log")?.textContent.includes("Saved machine text files"),
|
||||
|
||||
Reference in New Issue
Block a user