mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(e2e): broken test after shortcut change
This commit is contained in:
parent
d3b55932a6
commit
c3c5ab18ef
@ -8,7 +8,7 @@ test("Help popup", async ({ page, context }) => {
|
|||||||
await app.goto();
|
await app.goto();
|
||||||
|
|
||||||
const popupPromise = page.waitForEvent("popup");
|
const popupPromise = page.waitForEvent("popup");
|
||||||
await app.currentNoteSplit.press("F1");
|
await app.currentNoteSplit.press("Shift+F1");
|
||||||
await page.getByRole("link", { name: "online" }).click();
|
await page.getByRole("link", { name: "online" }).click();
|
||||||
const popup = await popupPromise;
|
const popup = await popupPromise;
|
||||||
expect(popup.url()).toBe("https://triliumnext.github.io/Docs/");
|
expect(popup.url()).toBe("https://triliumnext.github.io/Docs/");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user