Skip to content

Commit

Permalink
gherkin script:pipeline metrics-ODC-3711
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket committed Dec 9, 2020
1 parent 95f928e commit abfa1d0
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Background:

@regression
Scenario: Quick Starts Catalog Page
Given user is in Add view
When user clicks "See all Quick Starts" on quick start card
Given user is in Add page
When user clicks on "View all Quick Starts" on Quick Starts card
Then user can see Quick Starts catalog page
And user can see filter toolbar
And user can see filter by keyword search bar
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Feature: Pipeline metrics
As a user, I want to see an overall how well my Pipeline Runs have gone and how long they take to run.


Background:
Given user has installed OpenShift Pipelines operator
And user has selected namespace "aut-pipelines-metrics"
And user is at pipelines page


@regression
Scenario: Pipeline metrics tab
Given pipeline is present
When user clicks on available pipeline
Then user is able to see Dashboard tab in pipeline details page


@regression
Scenario: Graphs in dashboard tab
Given user is in pipeline details tab
And pipeline run is present
When user clicks on dashboard tab
Then user can see Time Range and Refresh Interval dropdowns with a default value of 1 day and 30 seconds respectively
And user can see Pipeline success ratio, Number of Pipeline Runs, Pipeline Run duration, Task Run duration graphs
And user can see tooltips for each datapoint that include both x and y values when hover over it


@regression
Scenario: Empty dashboard tab
Given user is in pipeline details tab
And no pipeline runs are present
When user clicks on dashboard tab
Then user can see empty page with message "Start your pipeline to view pipeline metrics"


@regression
Scenario: No datapoint graphs in dashboard tab
Given user is in pipeline details tab
And pipeline run has just started
When user clicks on dashboard tab
Then user can see Time Range and Refresh Interval dropdowns with a default value of 1 day and 30 seconds respectively
And user can see Pipeline success ratio, Number of Pipeline Runs, Pipeline Run duration, Task Run duration graphs
And user can see message "No datapoints found" inside graphs

0 comments on commit abfa1d0

Please sign in to comment.