Commit 055eb8f
Fix some flaky tests that were failing in recent runs
- Fix flaky frame test by using targeted event check: change
`noNextEventNamed` to `noNextEventOnTarget` for the frame form
navigation test. The previous check would pick up unrelated
`turbo:before-fetch-request` events from link prefetching on other
elements, causing random test failures.
- Fix rendering test that was failing due to execution context
being destroyed during full page reload. Use `waitForURL` instead of
`nextEventNamed` since the tracked element mismatch causes a real
browser reload.
- Fix `pausable_requests` test race condition by using a single dialog
handler that collects all messages, rather than registering handlers
sequentially which could miss dialogs on Firefox.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent e5cbd84 commit 055eb8f
File tree
3 files changed
+13
-13
lines changed- src/tests/functional
3 files changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
743 | | - | |
| 743 | + | |
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
0 commit comments