mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(react/dialogs): broken test in cheatsheet
This commit is contained in:
parent
82dce7a0d3
commit
1700217241
@ -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 }) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user