Commit 2f348cc
chore: fix playwright test timeouts and VRT configurations
Resolves PR #9643 feedback:
- Remove misleading `// Retry failed tests on CI` comment in playwright config.
- Use `process.env.CI_RETRIES` environment variable over a hardcoded `0` for fallback retry configurations.
- Drop `page.waitForLoadState('networkidle')` from `waitForVRTReady` which was previously causing 15000ms timeout failures in CI because of WebSocket and persistent connections.
- Fix race condition causing `stop-timer-button` click timeout in `vrt-timer-controls.spec.ts` since `stopTimer` in `test.afterEach` is now natively responsible for timer cleanup.
Co-authored-by: arii <342438+arii@users.noreply.github.com>1 parent 0b016b7 commit 2f348cc
File tree
4 files changed
+1
-5
lines changed- tests/playwright
- lib
- vrt-dashboard.spec.ts-snapshots
4 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
| |||
0 commit comments