Commit 5eab620
committed
Move auto-exit to global after() hook in unit tests
- Removed auto-exit from _cleanup() to prevent it running after every test suite
- Added global after() hook at end of Playwright_test.js with 1s delayed exit
- This ensures process exits cleanly only once, after ALL tests complete
- Fixes 30-minute timeout issue in GitHub Actions workflows1 parent 7043f22 commit 5eab620
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | 985 | | |
994 | 986 | | |
995 | 987 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2229 | 2229 | | |
2230 | 2230 | | |
2231 | 2231 | | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
0 commit comments