Commit 7758a94
authored
🤖 fix: skip splash screen in E2E tests (#230)
## Problem
E2E tests are flaky because `app.firstWindow()` grabs the splash screen
instead of the main window. The test expects the "Projects" navigation
to be visible, but that only exists in the main window.
## Solution
Skip splash screen when `CMUX_E2E=1`. E2E tests don't need startup
feedback and need deterministic window ordering.
## Testing
E2E tests should now pass consistently.
_Generated with `cmux`_1 parent 3a22a64 commit 7758a94
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
382 | 386 | | |
383 | 387 | | |
384 | 388 | | |
| |||
0 commit comments