Commit 3c98d33
committed
perf(tests): optimize Playwright E2E performance for CI
Reduce Playwright test execution time from ~10m to target ~3-5m:
Performance optimizations:
- Increase workers from 1 (default 50% of 2 cores) to 4 in CI
- Reduce test timeout from 60s to 30s
- Reduce retries from 2 to 1 (maxFailures: 5 provides early exit)
- Reduce action timeout from 10s to 5s
- Reduce navigation timeout from 30s to 15s
Expected improvements:
- 4 workers = ~4x parallelization vs 1 worker
- Fewer retries = less redundant test execution
- Tighter timeouts = faster failure detection
Local tests unaffected (workers: undefined uses default, retries: 0)1 parent 6c5cad9 commit 3c98d33
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | | - | |
38 | | - | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | | - | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments