Add completion, browser integration, and workspace improvements
This commit is contained in:
@@ -81,7 +81,15 @@ try {
|
||||
await page.getByRole("navigation", { name: "Workspace files" }).click({ button: "right", position: { x: 100, y: 350 } });
|
||||
await file.waitFor();
|
||||
assert.deepEqual(await metrics(file), reference, "Pane and file menus share styles");
|
||||
await dismiss();
|
||||
assert.equal(await item("Show in Explorer").locator("svg.action-icon").count(), 1);
|
||||
await page.keyboard.press("End");
|
||||
assert.equal(await item("Show in Explorer").evaluate(node => node === document.activeElement), true);
|
||||
await page.keyboard.press("Enter");
|
||||
await file.waitFor({ state: "detached" });
|
||||
assert.equal(await page.evaluate(() => window.tabMenuTest.revealed), "", "Pane action opens the workspace root");
|
||||
await row.click({ button: "right" });
|
||||
await item("Show in Explorer").click();
|
||||
assert.equal(await page.evaluate(() => window.tabMenuTest.revealed), "a.md", "File action reveals the selected file");
|
||||
await page.locator('[data-tree-rel="notes"]').click({ button: "right" });
|
||||
assert.deepEqual(await metrics(file), reference, "Folder and file menus share styles");
|
||||
await dismiss();
|
||||
|
||||
Reference in New Issue
Block a user