Skip to content

Commit

Permalink
Reenable and fix pipelines e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jerolimov committed Dec 19, 2023
1 parent 3cc6c41 commit 8a8faab
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
Expand Up @@ -71,7 +71,7 @@ Feature: Entire pipeline flow from Builder page
Given user is at pipelines page
When user clicks Last Run value of the pipeline "flow"
Then user will be redirected to Pipeline Run Details page
And user is able to see Details, YAML, TaskRuns, Parameters, Logs and Events tabs
And user is able to see Details, YAML, TaskRuns, Parameters, Logs, Events and Output tabs
And Details tab is displayed with field names Name, Labels, Annotations, Created At, Owner and Pipelines
And user is able to see the pipelineRuns with status as Succeeded
And Actions menu contains options "Rerun", "Delete PipelineRun"
Expand Down
Expand Up @@ -98,7 +98,7 @@ Feature: Perform Actions on repository
And user is at repositories page
When user clicks Last Run value of repository "<repository_name>"
Then user will be redirected to Pipeline Run Details page
And user is able to see Details, YAML, TaskRuns, Parameters, Logs and Events tabs
And user is able to see Details, YAML, TaskRuns, Parameters, Logs, Events and Output tabs
And Details tab is displayed with fields Repository, Branch, Commit id and Event type
And Actions dropdown display on the top right corner of the page

Expand Down
Expand Up @@ -44,7 +44,7 @@ Feature: Pipeline Runs
And user is at pipelines page
When user clicks Last Run value of "<pipeline_name>"
Then user will be redirected to Pipeline Run Details page
And user is able to see Details, YAML, TaskRuns, Parameters, Logs and Events tabs
And user is able to see Details, YAML, TaskRuns, Parameters, Logs, Events and Output tabs
And Details tab is displayed with field names Name, Namespace, Labels, Annotations, Created At, Owner, Status, Pipeline and Triggered by
And Actions dropdown display on the top right corner of the page

Expand Down Expand Up @@ -343,7 +343,7 @@ Feature: Pipeline Runs
And user is at pipelines page
When user clicks Last Run value of "pipeline-run-no-parameters"
Then user will be redirected to Pipeline Run Details page
And user is able to see Details, YAML, TaskRuns, Parameters, Logs and Events tabs
And user is able to see Details, YAML, TaskRuns, Parameters, Logs, Events and Output tabs
And user navigates to pipelineRun parameters tab
And user is able to see No parameters are associated with this PipelineRun

Expand Down
Expand Up @@ -68,9 +68,10 @@ export const pipelineRunDetailsPage = {
cy.get(pipelineRunDetailsPO.detailsTab).should('be.visible');
cy.get(pipelineRunDetailsPO.yamlTab).should('be.visible');
cy.get(pipelineRunDetailsPO.taskRunsTab).should('be.visible');
cy.get(pipelineRunDetailsPO.parametersTab).should('be.visible');
cy.get(pipelineRunDetailsPO.logsTab).should('be.visible');
cy.get(pipelineRunDetailsPO.eventsTab).should('be.visible');
cy.get(pipelineRunDetailsPO.parametersTab).should('be.visible');
cy.get(pipelineRunDetailsPO.outputTab).should('be.visible');
},
verifyFields: () => {
cy.byLegacyTestID('resource-summary').within(() => {
Expand Down
4 changes: 2 additions & 2 deletions test-cypress.sh
Expand Up @@ -57,7 +57,7 @@ if [ -n "${nightly-}" ] && [ -z "${pkg-}" ]; then

yarn run test-cypress-dev-console-nightly
yarn run test-cypress-helm-nightly
# yarn run test-cypress-pipelines-nightly
yarn run test-cypress-pipelines-nightly
# yarn run test-cypress-shipwright-nightly
yarn run test-cypress-topology-nightly
yarn run test-cypress-knative-nightly
Expand All @@ -73,7 +73,7 @@ if [ -n "${headless-}" ] && [ -z "${pkg-}" ]; then
yarn run test-cypress-helm-headless
yarn run test-cypress-knative-headless
yarn run test-cypress-topology-headless
# yarn run test-cypress-pipelines-headless
yarn run test-cypress-pipelines-headless
# yarn run test-cypress-shipwright-headless
# yarn run test-cypress-webterminal-headless
exit;
Expand Down

0 comments on commit 8a8faab

Please sign in to comment.