-
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.
[interop-ui-tests] update steps in install helm chart feature file
- Loading branch information
shvasude
committed
Dec 30, 2020
1 parent
58a4171
commit f166888
Showing
1 changed file
with
67 additions
and
67 deletions.
There are no files selected for viewing
134 changes: 67 additions & 67 deletions
134
frontend/packages/dev-console/integration-tests/features/helm/install-HelmChart.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 |
---|---|---|
@@ -1,84 +1,84 @@ | ||
Feature: Install the Helm Release | ||
As a user, I want to install the helm release | ||
|
||
Background: | ||
Given user is at developer perspecitve | ||
And user has selected namespace "aut-helm-installation" | ||
Background: | ||
Given user is at developer perspecitve | ||
And user has selected namespace "aut-helm-installation" | ||
|
||
|
||
@regression, @smoke | ||
Scenario: The Helm Chart option on the +Add Page: HR-01-TC01 | ||
Given user is at Add page | ||
Then user can see Helm Chart card on the Add page | ||
@regression, @smoke | ||
Scenario: The Helm Chart option on the +Add Page: HR-01-TC01 | ||
Given user is at Add page | ||
Then user can see Helm Chart card on the Add page | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Developer Catalog Page when Helm Charts checkbox is selected: HR-01-TC02, HR-02-TC02 | ||
Given user is at Add page | ||
And user has added multiple helm charts repositories | ||
When user clicks on the Helm Chart card on the Add page | ||
Then user will get redirected to Developer Catalog page | ||
And user will see the list of Chart Repositories | ||
And user will see the cards of Helm Charts | ||
And user will see Filter by Keyword field | ||
And user will see A-Z, Z-A sort by dropdown | ||
@regression, @smoke, @manual | ||
Scenario: Developer Catalog Page when Helm Charts checkbox is selected: HR-01-TC02, HR-02-TC02 | ||
Given user is at Add page | ||
And user has added multiple helm charts repositories | ||
When user clicks on the Helm Chart card on the Add page | ||
Then user will get redirected to Developer Catalog page | ||
And user will see the list of Chart Repositories | ||
And user will see the cards of Helm Charts | ||
And user will see Filter by Keyword field | ||
And user will see A-Z, Z-A sort by dropdown | ||
|
||
|
||
@regression | ||
Scenario: Install Helm Chart from Developer Catalog Page using YAML View: HR-03 | ||
Given user is at Add page | ||
When user clicks on the Developer Catalog card on the Add page | ||
And user clicks on Helm Charts | ||
And user searches for the "Nodejs Ex K v0.2.0" helm chart | ||
And user clicks on the "Nodejs Ex K v0.2.0" helm chart card | ||
And user clicks on the Install Helm Chart button on side bar | ||
And user selects YAML view | ||
And user selects the Chart Version "0.2.1 / App Version 1.16.0 (Provided by Redhat Helm Repo)" | ||
And user clicks on the Install button | ||
Then user will be redirected to Topology page | ||
And Topology page have the helm chart workload "nodejs-ex-k" | ||
@regression | ||
Scenario: Install Helm Chart from Developer Catalog Page using YAML View: HR-03 | ||
Given user is at Add page | ||
When user selects "From Catalog" card from add page | ||
And user selects "Helm" option from Type section | ||
And user searches "Nodejs Ex K v0.2.1" from catalog page | ||
And user selects "Nodejs Ex K v0.2.1" card from catalog page | ||
And user clicks on the Install Helm Chart button on side bar | ||
And user selects YAML view | ||
And user selects the Chart Version "0.2.1 / App Version 1.16.0 (Provided by Redhat Helm Repo)" | ||
And user clicks on the Install button | ||
Then user will be redirected to Topology page | ||
And Topology page have the helm chart workload "nodejs-ex-k" | ||
|
||
|
||
@regression, @smoke | ||
Scenario: Install Helm Chart from +Add Page using Form View: HR-02-TC01 | ||
Given user is at Add page | ||
When user clicks on the Helm Chart card on the Add page | ||
And user searches for the "Nodejs Ex K v0.2.1" helm chart | ||
And user clicks on the "Nodejs Ex K v0.2.1" helm chart card | ||
And user clicks on the Install Helm Chart button on side bar | ||
And user enters Release Name as "nodejs-example" | ||
And user clicks on the Install button | ||
Then user will be redirected to Topology page | ||
And Topology page have the helm chart workload "nodejs-example" | ||
@regression, @smoke | ||
Scenario: Install Helm Chart from +Add Page using Form View: HR-02-TC01 | ||
Given user is at Add page | ||
When user selects "Helm Chart" card from add page | ||
And user searches "Nodejs Ex K v0.2.1" from catalog page | ||
And user selects "Nodejs Ex K v0.2.1" card from catalog page | ||
And user clicks on the Install Helm Chart button on side bar | ||
And user enters Release Name as "nodejs-example" | ||
And user clicks on the Install button | ||
Then user will be redirected to Topology page | ||
And Topology page have the helm chart workload "nodejs-example" | ||
|
||
|
||
@regression | ||
Scenario: Chart versions drop down menu | ||
Given user is at the developer catalog page | ||
When user checks the Helm Charts checkbox | ||
And user searches for the 'Nodejs Ex K v0.2.1' helm chart | ||
And user clicks on the 'Nodejs Ex K v0.2.1' helm chart card | ||
And user will see the information of all the chart versions together | ||
And user clicks on the Install Helm Chart button | ||
Then user will see the chart version dropdown | ||
@regression | ||
Scenario: Chart versions drop down menu | ||
Given user is at the developer catalog page | ||
When user checks the Helm Charts checkbox | ||
And user searches for the 'Nodejs Ex K v0.2.1' helm chart | ||
And user clicks on the 'Nodejs Ex K v0.2.1' helm chart card | ||
And user will see the information of all the chart versions together | ||
And user clicks on the Install Helm Chart button on side bar | ||
Then user will see the chart version dropdown | ||
|
||
|
||
@regression, @manual | ||
Scenario: Update the chart version to see the alert modal | ||
Given user is at the Install Helm Chart page | ||
When user does some changes on the yaml editor | ||
And user clicks on the Chart Versioon dropdown menu | ||
And user selects the different chart version | ||
Then modal will get popped up | ||
And modal will have the old and new chart versions | ||
And modal will have the warning of data lost | ||
@regression, @manual | ||
Scenario: Update the chart version to see the alert modal | ||
Given user is at the Install Helm Chart page | ||
When user does some changes on the yaml editor | ||
And user clicks on the Chart Versioon dropdown menu | ||
And user selects the different chart version | ||
Then modal will get popped up | ||
And modal will have the old and new chart versions | ||
And modal will have the warning of data lost | ||
|
||
|
||
@regression, @manual | ||
Scenario: README should be updated when chart version is updated | ||
Given user is at the Install Helm Chart page | ||
When user clicks on the Chart Version dropdown menu | ||
And user selects the different chart version | ||
And modal will get popped up | ||
And user clicks on yes to update the chart version | ||
Then user will see that the README is also updated with new chart version | ||
@regression, @manual | ||
Scenario: README should be updated when chart version is updated | ||
Given user is at the Install Helm Chart page | ||
When user clicks on the Chart Version dropdown menu | ||
And user selects the different chart version | ||
And modal will get popped up | ||
And user clicks on yes to update the chart version | ||
Then user will see that the README is also updated with new chart version |