-
Notifications
You must be signed in to change notification settings - Fork 177
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
Cypress: Retry mechanism for e2e tests #3536
Cypress: Retry mechanism for e2e tests #3536
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3536 +/- ##
==========================================
- Coverage 85.54% 85.54% -0.01%
==========================================
Files 1342 1342
Lines 31016 31016
Branches 8675 8675
==========================================
- Hits 26534 26533 -1
- Misses 4482 4483 +1 see 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Co-authored-by: Christian Vogt <cvogt@redhat.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
https://issues.redhat.com/browse/RHOAIENG-16485
Description
Add a retry mechanism to the e2e Cypress tests.
How Has This Been Tested?
I've forced the failure of the application.cy.ts test here 9a1c676
Then I've ran the cypress job (cypress/job/cypress-tests/59)
In the report, 3 attempts are shown:
Then I've fixed the test here 8e55ff2
And ran the cypress job (cypress/job/cypress-tests/60)
And the test was up and running fine again
Test Impact
It's an "enhancement"
Request review criteria:
Self checklist (all need to be checked):
After the PR is posted & before it merges:
main