-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Promise.race() in e2e test (#2365)
This PR refactors the e2e tests to not use `Promise.race`. This `Promise.race` is problematic because one of the Promises keeps polling the chromedriver until the timeout is reached. The observed flakiness of the "Register with PIN then log into client application" test (due to chromedriver becoming unresponsive, presumably crashing) during polling when waiting for auth to finish seems to be reduced with this change.
- Loading branch information
Frederik Rothenberger
authored
Mar 15, 2024
1 parent
6c34591
commit c689ce8
Showing
2 changed files
with
9 additions
and
46 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
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