forked from duckduckgo/Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap maestro UI tests inside a retry command (duckduckgo#5405)
Task/Issue URL: https://app.asana.com/0/72649045549333/1209000807402387/f ### Description Wraps Maestro UI tests in a `retry` wrapper to minimize any noise from occasionally flakey tests (either from the test themselves or from flakiness in the testing infrastructure). Where we do spot flakiness in our tests, we should fix them and having the `retry` isn’t a substitute for aiming for properly deterministic tests. By default, all tests are being set with `maxRetries = 3` by default. ### 💡 Tip for reviewing the PR: - each test suite has a `retry` block added, and then the rest of the test steps have been indented. there are, therefore, mostly whitespace-only changes - if you want an easier time in the diff, **Hide whitespace:** <img width="253" alt="Screenshot 2024-12-18 at 12 26 33" src="https://github.com/user-attachments/assets/3dfe4eff-4583-48a8-96ea-12b4c2953737" /> ### Steps to test this PR - QA optional - [x] Ensure end-to-end CI job passed: https://github.com/duckduckgo/Android/actions/runs/12392897145 Co-authored-by: Craig Russell <1336281+CDRussell@users.noreply.github.com>
- Loading branch information
Showing
54 changed files
with
3,078 additions
and
2,915 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
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
Oops, something went wrong.