From 2d92084489533a32e82c23f34de3885c283c2e9c Mon Sep 17 00:00:00 2001 From: NuklearRabbit <145918611+NuklearRabbit@users.noreply.github.com> Date: Thu, 3 Sep 2026 01:13:21 +0200 Subject: [PATCH] test: stabilize browser assertions under CI load --- frontend/playwright.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index 108705a..62cc300 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -6,6 +6,10 @@ export default defineConfig({ // it mutates demo data via a reset and is run explicitly, not as part of the suite. testIgnore: process.env.CAPTURE_EVIDENCE === "1" ? undefined : "**/_*.spec.ts", timeout: 30_000, + // CI exercises the browser while image scans and container services share the + // same runner. Keep assertions strict, but allow successful API-backed route + // transitions enough time to render under that bounded load. + expect: { timeout: 15_000 }, fullyParallel: false, workers: 1, snapshotPathTemplate: "{testDir}/__screenshots__/{arg}{ext}",