mirror of
https://github.com/zadam/trilium.git
synced 2025-10-08 06:28:53 +08:00
fix(react/dialogs): broken test in cheatsheet
This commit is contained in:
parent
82dce7a0d3
commit
1700217241
1 changed files with 1 additions and 4 deletions
|
@ -7,11 +7,8 @@ test("Help popup", async ({ page, context }) => {
|
||||||
const app = new App(page, context);
|
const app = new App(page, context);
|
||||||
await app.goto();
|
await app.goto();
|
||||||
|
|
||||||
const popupPromise = page.waitForEvent("popup");
|
|
||||||
await app.currentNoteSplit.press("Shift+F1");
|
await app.currentNoteSplit.press("Shift+F1");
|
||||||
await page.getByRole("link", { name: "online" }).click();
|
await expect(page.locator(".help-cards")).toBeVisible();
|
||||||
const popup = await popupPromise;
|
|
||||||
expect(popup.url()).toBe("https://triliumnext.github.io/Docs/");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Complete help in search", async ({ page, context }) => {
|
test("Complete help in search", async ({ page, context }) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue