test: stabilize browser assertions under CI load
MobilityOps acceptance / acceptance (pull_request) Successful in 8m45s
MobilityOps acceptance / acceptance (pull_request) Successful in 8m45s
This commit is contained in:
@@ -6,6 +6,10 @@ export default defineConfig({
|
|||||||
// it mutates demo data via a reset and is run explicitly, not as part of the suite.
|
// 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",
|
testIgnore: process.env.CAPTURE_EVIDENCE === "1" ? undefined : "**/_*.spec.ts",
|
||||||
timeout: 30_000,
|
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,
|
fullyParallel: false,
|
||||||
workers: 1,
|
workers: 1,
|
||||||
snapshotPathTemplate: "{testDir}/__screenshots__/{arg}{ext}",
|
snapshotPathTemplate: "{testDir}/__screenshots__/{arg}{ext}",
|
||||||
|
|||||||
Reference in New Issue
Block a user