From 6966e07bfcfea4778d8ddd001bcee6ba6c9534fa Mon Sep 17 00:00:00 2001 From: leemour Date: Thu, 26 Nov 2026 00:40:59 +0100 Subject: [PATCH] test(site): wait 15 s for search results in the 768/1280 px search test The search index downloads on the first query. On a busy runner the results came after the default 5 s, so the 768 px case failed in the scheduled runs on 24 and 25 Nov and in a push deploy on 25 Nov. The search test above already waits 15 s for the same reason. Co-Authored-By: Claude Opus 5.5 --- tests/site-quality.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/site-quality.spec.ts b/tests/site-quality.spec.ts index a83b8139..4e2d4a1c 100644 --- a/tests/site-quality.spec.ts +++ b/tests/site-quality.spec.ts @@ -77,7 +77,7 @@ for (const width of [768, 1280]) { const dialog = page.getByRole("dialog") await expect(dialog).toBeVisible() await dialog.getByRole("combobox").fill("installation") - await expect(dialog.getByRole("option").first()).toBeVisible() + await expect(dialog.getByRole("option").first()).toBeVisible({ timeout: 15_000 }) await page.keyboard.press("Escape") await expect(dialog).not.toBeVisible() await expect(search).toBeFocused()