-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Improve test stability in navigation test cases
In this commit, I've enhanced the stability of various navigation test cases by ensuring that asynchronous click actions are correctly awaited with 'await page.click()' for the following scenarios: - Same-origin unannotated link test - Drive enabled: Click an element in the shadow DOM wrapped by a link in the light DOM - Drive disabled: Click an element in the shadow DOM within data-turbo='false' - Drive enabled: Click an element in the slot - Drive disabled: Click an element in the slot within data-turbo='false' - Drive disabled: Click an element in the nested slot within data-turbo='false' - Following a same-origin unannotated link with search params - Following a same-origin unannotated form with method=GET - Following a same-origin data-turbo-action=replace link - Following a same-origin POST link with data-turbo-action=replace - Following a same-origin data-turbo=true link inside a data-turbo=false container - Following a same-origin GET form with data-turbo-action=replace These changes ensure that click actions are properly synchronized with page navigation, resolving stability issues in the mentioned test cases.
- Loading branch information
1 parent
c44664d
commit f2a94f4
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters