-
Notifications
You must be signed in to change notification settings - Fork 178
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 e2e - Implementation of Cypress Grep #3609
Cypress e2e - Implementation of Cypress Grep #3609
Conversation
increase card timeout and delete active wait
…e/odh-dashboard into cypress-RHOAIENG-14368
…ttps://github.com/antowaddle/odh-dashboard into cypress-RHOAIENG-12649
Skipping CI for Draft Pull Request. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3609 +/- ##
==========================================
+ Coverage 85.30% 85.33% +0.02%
==========================================
Files 1395 1395
Lines 32047 32047
Branches 8983 8983
==========================================
+ Hits 27338 27346 +8
+ Misses 4709 4701 -8 see 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
The plugin is in optionalDependencies
and package-lock.json
is updated accordingly.
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: FedeAlonso, manaswinidas 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-14724
Description
How Has This Been Tested?
Test Impact
None - this is a test
How to run?
After exporting the test-variables.yml, there are now a variety of ways to run tests
Execute all tests tagged with a specific tag using Chrome
$npx cypress run --env grepTags=@ --browser chrome
Execute all smoke tests but omit any tests tagged with Bug
$npx cypress run --env grepTags=@smoke,grepTags=-@bug
Using 2 separate terminals/containers etc. the Smoke Tests can also be executed in parallel (note that the 2 failing tests are either failing due to a known issue or are also failing running independently i.e. they are not related to running the tests in parallel).
* Note, it's recommended to disable video recording when executing multiple tests in parallel locally due to cypress-io/cypress#18415. (cypress.config.ts - set video: false).
Run only the tests with "data science" in the title
$ npx cypress run --env grep="data science" --browser chrome
Run tests with "hello" or "auth user" in their titles by separating them with ";" character
$ npx cypress run --env grep="hello; auth user" --browser chrome
Run only the tests tagged "smoke" that have "login" in their titles
$ npx cypress run --env grep=login,grepTags=Smoke --browser chrome
Run only tests that do not have any tags and are not inside suites that have any tags
$ npx cypress run --env grepUntagged=true --browser chrome
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main