mirror of
https://github.com/zadam/trilium.git
synced 2025-10-06 13:39:51 +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);
|
||||
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…
Add table
Reference in a new issue