-
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 e2e Test - Verify links in the Manifest Directory #3570
Cypress e2e Test - Verify links in the Manifest Directory #3570
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
…e/odh-dashboard into cypress-RHOAIENG-15765
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3570 +/- ##
=======================================
Coverage 85.19% 85.19%
=======================================
Files 1380 1380
Lines 31541 31541
Branches 8818 8818
=======================================
+ Hits 26870 26872 +2
+ Misses 4671 4669 -2 see 3 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
frontend/src/__tests__/cypress/cypress/tests/e2e/dashboardNavigation/testManifestLinks.cy.ts
Outdated
Show resolved
Hide resolved
…act a function to utils
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: FedeAlonso 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-9235
https://issues.redhat.com/browse/RHOAIENG-15765
Description
Migrate ODS-327, ODS-492 to Cypress.
Note - this issue also incorporates https://issues.redhat.com/browse/RHOAIENG-15765
How Has This Been Tested?
An oc login should be performed in the cluster before running the test
test-variables.yml should be configured properly
Export the path to the test-variables.yml: $ export CY_TEST_CONFIG=<path_to>/test-variables.yml
This test will currently fail as there are a number of issues (see linked issues https://issues.redhat.com/browse/RHOAIENG-9235) and these URLs have not been excluded.
As part of the validation process, I excluded the broken links raised in the linked issues of RHOAIENG-9235 and the test works fine.
Test Impact
How to run
After exporting the test-variables.yml we have 2 different ways:
Using the UI
Go to odh-dashboard/frontend/src/tests/cypress and run the command npx cypress open . This will open the Cypress UI where verifyDSPCreation.cy.ts can be run.
Headless
Go to odh-dashboard/frontend/src/tests/cypress and run the command npx cypress run --spec "cypress/tests/e2e/dashboardNavigation/testManifestLinks.cy.ts" --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