From 5d9f05e083e89b46ab5ded7d43c3593cf22187fd Mon Sep 17 00:00:00 2001 From: ajnart Date: Wed, 29 Jul 2026 07:53:35 +0200 Subject: [PATCH] test(e2e): open spotlight with hotkey --- e2e/lazy-widgets.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/lazy-widgets.spec.ts b/e2e/lazy-widgets.spec.ts index c0f826c30..0c31f0492 100644 --- a/e2e/lazy-widgets.spec.ts +++ b/e2e/lazy-widgets.spec.ts @@ -83,7 +83,7 @@ describe("lazy widget application graph", () => { await expect(page.locator("[data-homarr-dev-benchmark-board]")).toBeVisible({ timeout: 30_000 }); await expect(page.locator(`[data-id="${itemId}"] .clock-widget-container`)).toBeVisible({ timeout: 15_000 }); - await page.locator('[data-homarr-dev-benchmark-interaction="search"]').first().click(); + await page.keyboard.press("Control+K"); await expect(page.locator("[data-homarr-dev-benchmark-spotlight]")).toBeVisible(); await page.keyboard.press("Escape"); await expect(page.locator("[data-homarr-dev-benchmark-spotlight]")).not.toBeVisible();