Update visual regression tests

This commit is contained in:
adilallo
2025-09-12 16:01:12 -06:00
parent 500d2d0965
commit 842bbe44f1
5 changed files with 56 additions and 11 deletions
+8 -1
View File
@@ -43,6 +43,13 @@ export default defineConfig({
thresholds: { lines: 50, functions: 50, statements: 50, branches: 50 },
},
pool: "threads",
testTimeout: 10000,
testTimeout: 30000, // Increased from 10s to 30s for CI environment
hookTimeout: 30000, // Increased hook timeout for CI
teardownTimeout: 30000, // Increased teardown timeout for CI
// CI optimizations
maxConcurrency: process.env.CI ? 2 : 5, // Reduce concurrency in CI
maxThreads: process.env.CI ? 2 : 4, // Reduce threads in CI
minThreads: process.env.CI ? 1 : 2, // Minimum threads in CI
retry: process.env.CI ? 2 : 0, // Retry failed tests in CI
},
});