From b2dd37e414d29fd590abcda9973abf2059786749 Mon Sep 17 00:00:00 2001 From: carsakiller Date: Thu, 27 Jun 2024 18:27:02 +0000 Subject: [PATCH] fix: test --- src/test/search.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/search.spec.ts b/src/test/search.spec.ts index 15f76db..a84ed2b 100644 --- a/src/test/search.spec.ts +++ b/src/test/search.spec.ts @@ -38,7 +38,7 @@ test.describe("Search", async () => { test("Close Search By Clicking Background", async ({ page }) => { await page.getByRole("document").press("/"); await isOpen(); - await page.locator("#site-search").click(); + await page.locator("#site-search dialog").click(); await isClosed(); });