Skip to content

Commit

Permalink
gherkin script: display TaskRuns associated with PipelineRun -ODC-3712
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket committed Dec 2, 2020
1 parent 5ee7bef commit fe1fe26
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 73 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Feature: Display task runs page
As a developer, I would like to navigate from a PipelineRun to the related TaskRuns and their associated pods so that I can debug my pipelines by looking at the volumes, secrets, etc that are made available to the taskruns and pods.

Background:
Given user is at developer perspective
And user has installed OpenShift Pipelines Operator
And user has selected "aut-pipeline-taskruns" namespace


@regression
Scenario: Task runs tab
Given user is at pipeline details page
And pipeline runs are present
When user clicks on pipeline runs tab
And user clicks on a pipeline run to see Task Runs tab
And user clicks on Task Runs tab
Then user can see different task runs based on number of tasks executed in pipeline
And user can see "Name", "Task", "Pod", "Status" and "Started" columns


@regression
Scenario: Options in kebab menu of task runs
Given user has pipeline runs present
And user is on Pipeline Runs Details page
When user clicks on Task Runs tab
And user clicks on a kebab menu of a task run in the list
Then user can see "Edit labels", "Edit annotations", "Edit Task Run" and "Delete Task Run"


@regression
Scenario: Task Runs Details page for passed task runs
Given user is at pipeline details page
And pipeline runs are present
When user clicks on pipeline runs tab
And user clicks on a pipeline run
And user clicks on Task Runs tab
And user clicks on a Succeeded task run
Then user is redirected to Task Run Details tab
And user can see "Details", "Log", "YAML" and "Events" tab
And user can see Status and Pods in "Details" tab


@regression
Scenario: Task Runs Details page for failed task runs
Given user is at pipeline details page
And pipeline runs are present
When user clicks on pipeline runs tab
And user clicks on a pipeline run
And user clicks on Task Runs tab
And user clicks on a Failed task run
Then user is redirected to Task Run Details tab
And user can see "Details", "Log", "YAML" and "Events" tab
And user can see Status, Message and Log snippet in "Details" tab

This file was deleted.

0 comments on commit fe1fe26

Please sign in to comment.