From b8c33ce7fa34414bf6e322d3dc0fcbed02a82080 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 6 Dec 2025 08:54:35 +0200 Subject: [PATCH] e2e(server): locator failing due to removal of "visible" --- .../src/layout/open_note_and_activate.spec.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/server-e2e/src/layout/open_note_and_activate.spec.ts b/apps/server-e2e/src/layout/open_note_and_activate.spec.ts index bb3770245..2a2a09fa5 100644 --- a/apps/server-e2e/src/layout/open_note_and_activate.spec.ts +++ b/apps/server-e2e/src/layout/open_note_and_activate.spec.ts @@ -8,11 +8,11 @@ test("Opens and activate a note from launcher Bar", async ({ page, context }) => await app.goto(); await app.closeAllTabs(); - const mapButton = app.launcherBar.locator(".launcher-button.bx-search.visible"); + const mapButton = app.launcherBar.locator(".launcher-button.bx-search"); await expect(mapButton).toBeVisible(); - await page.keyboard.down('Control'); - await page.keyboard.down('Shift'); + await page.keyboard.down('Control'); + await page.keyboard.down('Shift'); await mapButton.click(); @@ -23,7 +23,7 @@ test("Opens and activate a note from launcher Bar", async ({ page, context }) => await expect(tabs).toHaveCount(2); const secondTab = tabs.nth(1); - await expect(secondTab).toHaveAttribute('active', ''); + await expect(secondTab).toHaveAttribute('active', ''); }); test("Opens and activate a note from note tree", async ({ page, context }) => { @@ -31,8 +31,8 @@ test("Opens and activate a note from note tree", async ({ page, context }) => { await app.goto(); await app.closeAllTabs(); - await page.keyboard.down('Control'); - await page.keyboard.down('Shift'); + await page.keyboard.down('Control'); + await page.keyboard.down('Shift'); await app.clickNoteOnNoteTreeByTitle(NOTE_TITLE); @@ -43,5 +43,5 @@ test("Opens and activate a note from note tree", async ({ page, context }) => { await expect(tabs).toHaveCount(2); const secondTab = tabs.nth(1); - await expect(secondTab).toHaveAttribute('active', ''); -}); \ No newline at end of file + await expect(secondTab).toHaveAttribute('active', ''); +});