Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve flaky double-clicking link test
Switch the test from a time-based waiting mechanism (1200 milliseconds) to an event-based waiting mechanism. ``` 2) [firefox] › navigation_tests.ts:341:1 › test double-clicking on a link ======================== AssertionError: expected '/src/tests/fixtures/navigation.html' to equal '/__turbo/delayed_response' 344 | 345 | await nextBody(page, 1200) > 346 | assert.equal(pathname(page.url()), "/__turbo/delayed_response") | ^ 347 | assert.equal(await visitAction(page), "advance") 348 | }) 349 | at /home/runner/work/turbo/turbo/src/tests/functional/navigation_tests.ts:346:10 ```
- Loading branch information