tests: triple the boss test's timeout budget for slow CI hardware

Latest CI failure was a different signature than anything the retry
fix addresses: "Test timeout of 45000ms exceeded" -- the whole test's
hard deadline, not the specific 20s poll assertion (which has its own
budget and, per the retry fix, gives up cleanly well within it). That
means cumulative time for enter() + awakening the boss + closing
settings is eating far enough into the config's 45s per-test timeout
on a slow run that the poll never gets the chance to report on its own
terms before the whole test gets killed.

test.slow() triples this one test's timeout (45s -> 135s) rather than
inflating the config's global timeout for every test. Confirmed the
retry-logic fix from two rounds ago (which passed on CI last round) is
untouched here -- this is purely a timeout-budget change layered on
top of it.

Verified: full local e2e suite (7/7) still passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-09-06 14:25:02 -04:00
co-authored by Claude Sonnet 5
parent d594db7417
commit 346c0c85a6
+5
View File
@@ -74,6 +74,11 @@ test('unauthenticated API and hostile origins cannot mutate state', async ({ req
});
test('boss event is visible and accepts server-authoritative combat', async ({ page }) => {
// The 20s poll below has its own budget, but on slow CI hardware the cumulative time
// for enter() + awakening the boss + closing settings can eat far enough into the
// config's 45s per-test timeout that the whole test gets killed before that poll's own
// timeout ever gets to fire and report cleanly. slow() triples this test's budget.
test.slow();
await page.setViewportSize({ width: 1440, height: 900 });
await enter(page, 'Boss witness');
await page.getByRole('button', { name: 'Display settings' }).click();