-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gherkin script:pipeline metrics-ODC-3711
- Loading branch information
Sanket
committed
Dec 9, 2020
1 parent
95f928e
commit abfa1d0
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...ckages/dev-console/integration-tests/features/pipelines/pipeline_metrics_ODC-3711.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |