Skip to content

Build your personal knowledge base with Trilium Notes

test(e2e): click the Find tile in the note menu

Elian Doranf9e1c3d5c869
diff --git a/packages/trilium-e2e/src/layout/tab_bar.spec.ts b/packages/trilium-e2e/src/layout/tab_bar.spec.ts
index 9e80524746..44c9538843 100644
--- a/packages/trilium-e2e/src/layout/tab_bar.spec.ts
+++ b/packages/trilium-e2e/src/layout/tab_bar.spec.ts
@@ -120,7 +120,7 @@ test("Search works when dismissing a tab", async ({ page, context }) => {
await app.goto();
await app.goToNoteInNewTab("Table of contents");
- await app.openAndClickNoteActionMenu("Search in note");
+ await app.openAndClickNoteActionMenu("Find");
await expect(app.findAndReplaceWidget).toBeVisible();
app.findAndReplaceWidget.locator(".find-widget-close-button").click();
@@ -128,7 +128,7 @@ test("Search works when dismissing a tab", async ({ page, context }) => {
await app.goToNoteInNewTab("Sample mindmap");
await (await app.getTab(0)).click();
- await app.openAndClickNoteActionMenu("Search in note");
+ await app.openAndClickNoteActionMenu("Find");
await expect(app.findAndReplaceWidget.first()).toBeVisible();
});