From 346c0c85a60129bbed18079414ddd5e1d79091e6 Mon Sep 17 00:00:00 2001 From: dingo Date: Sun, 6 Sep 2026 14:25:02 -0400 Subject: [PATCH] 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 --- tests/game.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/game.spec.ts b/tests/game.spec.ts index 2016aab..ca12d68 100644 --- a/tests/game.spec.ts +++ b/tests/game.spec.ts @@ -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();