Update editor, themes, menus, backgrounds, and release tooling
This commit is contained in:
@@ -62,8 +62,6 @@ try {
|
||||
window.__MONACO__ = (await import("/src/lib/editor/monacoEnv.ts")).monaco;
|
||||
window.__MONACO__.editor.getEditors().find(e => e.getDomNode()?.isConnected).setValue("My pending edit");
|
||||
});
|
||||
await page.getByRole("button", { name: "Terminal", exact: true }).click();
|
||||
await page.waitForFunction(() => window.__TEST__.calls.some(c => c.command === "pty_open"));
|
||||
const trigger = page.getByRole("button", { name: "Open folder", exact: true });
|
||||
const menu = page.getByRole("dialog", { name: "Workspaces", exact: true });
|
||||
await trigger.click();
|
||||
@@ -104,7 +102,6 @@ try {
|
||||
assert.deepEqual(await page.evaluate(() => window.__TEST__.windows), ["D:\\Writing\\Notes", "D:\\Other", "D:\\Projects\\Fresh notes"]);
|
||||
assert.equal(await page.evaluate(() => window.__TEST__.calls.filter(c => c.command === "workspace_open").length), opened);
|
||||
assert.equal(await page.evaluate(() => window.__TEST__.calls.filter(c => c.command === "plugin:dialog|message").length), 0);
|
||||
assert.equal(await page.evaluate(() => window.__TEST__.calls.filter(c => c.command === "pty_close").length), 0);
|
||||
assert.equal(await page.evaluate(() => window.__MONACO__.editor.getEditors().find(e => e.getDomNode()?.isConnected)?.getValue()), "My pending edit");
|
||||
assert(await page.getByRole("tab", { name: /note\.txt/ }).isVisible());
|
||||
await trigger.click();
|
||||
|
||||
Reference in New Issue
Block a user