From fa5c293b35bccdeabb21e77069c547f9914d0ac5 Mon Sep 17 00:00:00 2001 From: CRT Date: Sun, 11 Oct 2026 20:50:36 +0000 Subject: [PATCH] site overflow test: 60 s for closing Chromium (the 5 s hook default times out on a busy machine) --- tests/site-overflow.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/site-overflow.test.ts b/tests/site-overflow.test.ts index a2dc1398..c831d8ed 100644 --- a/tests/site-overflow.test.ts +++ b/tests/site-overflow.test.ts @@ -16,7 +16,8 @@ try { } catch (e) { skipWhy = (e as Error).message.split('\n')[0]!; } if (!browser) console.warn(`site overflow test skipped: no Chromium could launch (${skipWhy}). Run \`bunx playwright install chromium\`.`); -afterAll(async () => { await browser?.close(); }); +// closing Chromium can take longer than the 5 s hook default on a busy machine +afterAll(async () => { await browser?.close(); }, 60_000); describe.skipIf(!browser)('site: no horizontal overflow', () => { for (const scheme of ['light', 'dark'] as const) {