Update E2E tests and simplify performance tests
CI Pipeline / e2e (chromium) (pull_request) Successful in 6m13s
CI Pipeline / e2e (firefox) (pull_request) Successful in 7m3s
CI Pipeline / e2e (webkit) (pull_request) Successful in 5m52s
CI Pipeline / visual-regression (pull_request) Successful in 7m48s
CI Pipeline / performance (pull_request) Successful in 7m59s
CI Pipeline / lint (pull_request) Successful in 6m16s
CI Pipeline / build (pull_request) Successful in 5m30s
CI Pipeline / test (pull_request) Successful in 6m26s

This commit is contained in:
adilallo
2026-01-28 18:22:59 -07:00
parent 9cb89162ab
commit a30bf6be4c
124 changed files with 452 additions and 4190 deletions
+4 -3
View File
@@ -33,14 +33,15 @@ export default defineConfig({
headless: true,
},
// Only start webServer in non-CI environments (CI starts its own server)
// Use production server for E2E tests to match CI and ensure reliability
...(process.env.CI
? {}
: {
webServer: {
command: "npm run dev -- --port 3010",
command: "npm run build && npx next start -p 3010",
url: "http://localhost:3010",
reuseExistingServer: true,
timeout: 120_000,
reuseExistingServer: !process.env.CI,
timeout: 180_000, // Increased timeout to account for build time
},
}),
// Browser-specific snapshot path template (includes projectName for cross-browser support)