Update editor, workspace, Git services, appearance, and project guides
This commit is contained in:
@@ -65,6 +65,7 @@ try {
|
||||
if (command === "workspace_last_path") return null;
|
||||
if (command === "plugin:event|listen") return args.handler;
|
||||
if (command === "plugin:event|unlisten") return;
|
||||
if (command === "plugin:window|is_maximized") return false;
|
||||
if (command === "plugin:window|close") { window.settingsTest.closes++; return; }
|
||||
throw new Error(`Unexpected IPC: ${command}`);
|
||||
},
|
||||
@@ -84,7 +85,7 @@ try {
|
||||
await desktop.getByText(/Could not open settings: .*Native window creation failed/).waitFor();
|
||||
await desktop.goto(`${origin}/?settingsWindow=true`);
|
||||
await desktop.getByRole("heading", { name: "General", exact: true }).waitFor();
|
||||
await desktop.getByRole("button", { name: "Close settings", exact: true }).click();
|
||||
await desktop.getByRole("button", { name: "Close window", exact: true }).click();
|
||||
assert.equal(await desktop.evaluate(() => window.settingsTest.closes), 1);
|
||||
assert.deepEqual(errors, []);
|
||||
console.log("Settings window smoke passed: preview fallback, standalone layout, two-way save sync, persistence, failed saves, native open requests, and close.");
|
||||
|
||||
Reference in New Issue
Block a user