mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
fix(e2e): broken test after shortcut change
This commit is contained in:
@@ -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/");
|
||||||
|
|||||||
Reference in New Issue
Block a user