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) {