fix(react/dialogs): broken test in cheatsheet

This commit is contained in:
Elian Doran 2025-08-10 23:37:05 +03:00
parent 82dce7a0d3
commit 1700217241
No known key found for this signature in database

View file

@ -7,11 +7,8 @@ test("Help popup", async ({ page, context }) => {
const app = new App(page, context);
await app.goto();
const popupPromise = page.waitForEvent("popup");
await app.currentNoteSplit.press("Shift+F1");
await page.getByRole("link", { name: "online" }).click();
const popup = await popupPromise;
expect(popup.url()).toBe("https://triliumnext.github.io/Docs/");
await expect(page.locator(".help-cards")).toBeVisible();
});
test("Complete help in search", async ({ page, context }) => {