-
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
Test: e2e Cypress migration from ODS-2206 #3580
base: main
Are you sure you want to change the base?
Test: e2e Cypress migration from ODS-2206 #3580
Conversation
…est/cypress-ods2206-pipelines
…est/cypress-ods2206-pipelines
Skipping CI for Draft Pull Request. |
…o/odh-dashboard into test/cypress-ods2206-pipelines
…est/cypress-ods2206-pipelines
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
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
New changes are detected. LGTM label has been removed. |
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.
@FedeAlonso Can you also please check this test against the latest ODH Nightly build? The test also currently takes 4 minutes to execute, is there any way that time can be improved? Or is there any type of splitting that can be done?
@@ -17,7 +17,7 @@ export class TableRow extends Contextual<HTMLTableRowElement> { | |||
} | |||
|
|||
findKebabAction(name: string): Cypress.Chainable<JQuery<HTMLElement>> { | |||
return this.find().findKebabAction(name); | |||
return this.find().findKebabAction(name).should('exist').and('be.visible'); |
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.
Can you check please if this is breaking the Mock Tests?
https://github.com/opendatahub-io/odh-dashboard/actions/runs/12427145849/job/34696500427?pr=3580
.../cypress/cypress/tests/e2e/dataSciencePipelines/createRunDeletePipelineCustomPipMirror.cy.ts
Show resolved
Hide resolved
This test takes 4 minutes because it's a quite complete one. Also, running a pipeline always takes time, and in this case we need to have a more complex one, as it's used also for disconnected testing. |
https://issues.redhat.com/browse/RHOAIENG-16476
Description
Cypress Smoke test from ODS-CI "ODS-2206"
Title: Verify User Can Create, Run and Delete A DS Pipeline From DS Project Details Page Using Custom Pip Mirror
This test Run an Iris DSP, and then deletes the DSP version and the DSP. All just by using the UI.
It has also the particularity that the PIP server (or mirror) is configured by env variables, so it can run in a disconnected environment.
How Has This Been Tested?
Locally against a live cluster.
Command:
$ npx cypress run --spec "**/createRunDeletePipelineCustomPipMirror.cy.ts" --browser chrome
Test Impact
Addition of a new e2e Cypress test
Request review criteria:
Self checklist (all need to be checked):
After the PR is posted & before it merges:
main