-
Notifications
You must be signed in to change notification settings - Fork 185
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 - Verifies users can create, edit and delete a Persistent Volume #3689
Cypress e2e Test - Verifies users can create, edit and delete a Persistent Volume #3689
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3689 +/- ##
==========================================
- Coverage 84.16% 84.14% -0.03%
==========================================
Files 1453 1453
Lines 33865 33865
Branches 9384 9384
==========================================
- Hits 28504 28496 -8
- Misses 5361 5369 +8 see 7 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
...ypress/cypress/tests/e2e/dataScienceProjects/clusterStorage/testClusterStorageCreation.cy.ts
Show resolved
Hide resolved
@antowaddle maybe we could include editing also ? Or have we a separate test for this ? |
the PR description mentions data connections ? This is for PV storage right ? |
@ConorOM1 Yes, good spot. Amended now. |
… editing to the test
@ConorOM1 I'm not sure if we have a specific test case for this, but I've added it to this test. |
nice work @antowaddle ! |
/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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: manosnoam 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 |
2e6e823
into
opendatahub-io:main
…stent Volume (opendatahub-io#3689) * Initial WIP version of resource creation test * Experimental changes to poll the UI for updates * Working version if resource is present * increase card timeout and delete active wait * Added changes to find namespace from variables * Final changes to read variables, cleaned up utils * Small change to a comment * Dummy change to trigger mocks * Save changes on cypress-RHOAIENG-12649 * Changed file directories and names as requested on a PR comment * Saving changes to current branch * Additional directory/file name changes * Additional changes to save * Resolving timeout issue breaking mock tests, also resolved latest PR comments * Further changes for this test * Changes to revert the exist method appended to getCardView. * Fixed linting * Linting fixes * Final comments added * Fixed merge conflict * Small change to page object name * dummy commit * Removed RHOAI bug workaround * Removed comments * Last comment change * Committing completed test * Edited requested on pr - added backend check for PVC size, also added editing to the test --------- Co-authored-by: Fede Alonso <fealonso@redhat.com>
…stent Volume (opendatahub-io#3689) * Initial WIP version of resource creation test * Experimental changes to poll the UI for updates * Working version if resource is present * increase card timeout and delete active wait * Added changes to find namespace from variables * Final changes to read variables, cleaned up utils * Small change to a comment * Dummy change to trigger mocks * Save changes on cypress-RHOAIENG-12649 * Changed file directories and names as requested on a PR comment * Saving changes to current branch * Additional directory/file name changes * Additional changes to save * Resolving timeout issue breaking mock tests, also resolved latest PR comments * Further changes for this test * Changes to revert the exist method appended to getCardView. * Fixed linting * Linting fixes * Final comments added * Fixed merge conflict * Small change to page object name * dummy commit * Removed RHOAI bug workaround * Removed comments * Last comment change * Committing completed test * Edited requested on pr - added backend check for PVC size, also added editing to the test --------- Co-authored-by: Fede Alonso <fealonso@redhat.com>
https://issues.redhat.com/browse/RHOAIENG-17427
Description
-This test focuses on PVC management through the user interface (UI). It encompasses the following key steps and verifications:
How Has This Been Tested?
Test Impact
How to run?
Go to odh-dashboard/frontend/src/tests/cypress and run the command npx cypress open . This will open the Cypress UI where testClusterStorageCreation.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/dataScienceProjects/clusterStorage/testClusterStorageCreation.cy.ts" --browser chrome
or Execute 'npx cypress run --env grepTags=@ODS-1824'
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main