Update editor, workspace, Git services, appearance, and project guides
This commit is contained in:
@@ -74,9 +74,7 @@ async function quickOpen(name) {
|
||||
await page.keyboard.press("Control+p");
|
||||
await page.getByRole("textbox", { name: "Find a file" }).fill(name);
|
||||
await page.getByRole("dialog").getByRole("button").filter({ hasText: name }).first().click();
|
||||
if (await page.getByRole("button", { name: "Switch to IDE layout (Ctrl E)", exact: true }).count()) {
|
||||
await page.getByRole("button", { name: "Switch to IDE layout (Ctrl E)", exact: true }).click();
|
||||
}
|
||||
await page.getByRole("group", { name: "Editor layout" }).locator("button.current").press("Home");
|
||||
await page.locator(".monaco-editor textarea").waitFor();
|
||||
}
|
||||
|
||||
@@ -108,7 +106,7 @@ try {
|
||||
window.__TEST__.emit('workspace-event', { root: window.__TEST__.root, kind: 'create', paths: ['drag.md'] });
|
||||
}, source);
|
||||
await quickOpen('drag.md');
|
||||
await page.getByRole('button', { name: 'Switch to writing layout (Ctrl E)', exact: true }).click();
|
||||
await page.getByRole("group", { name: "Editor layout" }).locator("button.current").press("End");
|
||||
await table.waitFor();
|
||||
assert.equal(await page.locator('.table-drag-row[data-index="0"]').count(), 0);
|
||||
await page.mouse.move(5, 5);
|
||||
@@ -202,7 +200,7 @@ try {
|
||||
window.__TEST__.emit('workspace-event', { root: window.__TEST__.root, kind: 'create', paths: ['long.md'] });
|
||||
});
|
||||
await quickOpen('long.md');
|
||||
await page.getByRole('button', { name: 'Switch to writing layout (Ctrl E)', exact: true }).click();
|
||||
await page.getByRole("group", { name: "Editor layout" }).locator("button.current").press("End");
|
||||
await table.waitFor();
|
||||
await grip('row', 1);
|
||||
const scroller = await page.locator('.live-writer .cm-scroller').boundingBox();
|
||||
|
||||
Reference in New Issue
Block a user