Skip to content

[UI Tests] Added a rerun parameter #11376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 26, 2024
Merged

[UI Tests] Added a rerun parameter #11376

merged 3 commits into from
Apr 26, 2024

Conversation

pachlava
Copy link
Contributor

@pachlava pachlava commented Apr 25, 2024

Description

The PR adds a new Rule for rerunning failed tests, and also enables a previously disabled Stats test. The RerunTestRule class is copied from wordpress-mobile/WordPress-Android/pull/20517 (credits to @notandyvee).

All UI tests will now be re-executed once in a case of a fail, which goes in line with the same setting on iOS.

Ideally, this should address sporadic issues on Firebase, when the Emulator might act slower than usual, and cause desynchronization of tests and app.

Testing instructions

  • CI is 🟢.

@pachlava pachlava requested a review from a team as a code owner April 25, 2024 10:32
@pachlava pachlava marked this pull request as draft April 25, 2024 10:32
@pachlava pachlava added the category: ui tests Related to UI testing. label Apr 25, 2024
@pachlava pachlava added this to the 18.8 milestone Apr 25, 2024
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Apr 25, 2024

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
FlavorJalapeno
Build TypeDebug
Commit5945185
Direct Downloadwoocommerce-prototype-build-pr11376-5945185.apk

@pachlava pachlava marked this pull request as ready for review April 25, 2024 13:29
@pachlava pachlava requested review from 0nko, jostnes and tiagomar April 25, 2024 13:31
Copy link
Contributor

@0nko 0nko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing these issues! :shipit:

@0nko 0nko merged commit 3c96f0b into trunk Apr 26, 2024
@0nko 0nko deleted the ui-tests-add-conditional-waits branch April 26, 2024 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: ui tests Related to UI testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants