Skip to content

Commit

Permalink
Merge pull request #5727 from gajanan-more/helm-release-ODC-3022
Browse files Browse the repository at this point in the history
Helm Release Gherkin Scripts -  [ODC-4108]
  • Loading branch information
openshift-merge-robot committed Jun 17, 2020
2 parents a9657ee + 14d95ee commit 7892c92
Show file tree
Hide file tree
Showing 13 changed files with 276 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Feature: Helm Chart
User will be able to perform the actions on the helm releases

Background:
Given user logged into the openshift application
And user is at developer perspecitve


@regression, @smoke
Scenario: Perform Upgrade action on Helm Release through Context Menu: HR-08-TC02
Given user is at Topology page
When user right clicks on the Helm Release to open the context menu
And user clicks on the Upgrade action
And user updates the chart Version
And user clicks on the upgrade button
Then the helm release should get upgradaed
And user gets redirected to topology page


@regression, @smoke
Scenario: Perform Rollback action on Helm Release through Context Menu: HR-08-TC03
Given user is at Topology page
When user right clicks on the Helm Release to open the context menu
And user clicks on the Rollback action
And user selects the version to Rollback
And user clicks on the rollback button
Then the helm release rollbacks to the version
And user gets redircted to topology page


@regression, @smoke
Scenario: Uninstall Helm Release through Context Menu: HR-08-TC04
Given user is at Topology page
When user right clicks on the Helm Release to open the context menu
And user clicks on the Uninstall action
And user enters the release name
And user clicks on the Delete button
Then Helm release gets deleted
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Feature: Helm Chart
User will be able to install the helm charts

Background:
Given user logged into the openshift application
And user is at developer perspecitve


@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: Install Helm Chart from +Add Page: 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 'Node-ex-k' helm chart
And user clicks on the 'Node-ex-k' helm chart card
And user clicks on the Install Helm Chart button
And user clicks on the Install button
Then user is redirected to Topology page
And Topology page have the helm chart workload


@regression
Scenario: Install Helm Chart from Developer Catalog Page: HR-03-TC01
Given user is at +Add page
When user clicks on the Developer Catalog card on the +Add page
And user checks the Helm Charts checkbox
And user searches for the 'Node-ex-k' helm chart
And user clicks on the 'Node-ex-k' helm chart card
And user clicks on the Install Helm Chart button
And user clicks on the Install button
Then user is redirected to Topology page
And Topology page have the helm chart workload


@regression, @smoke
Scenario: Open context menu and check the actions available: HR-07-TC01
Given user is on the Topology page
When user right clicks on the workload
Then user sees the context menu with actions
And user sees the Upgrade action item
And user sees the Rollback action item
And user sees the Uninstall Helm Release action item
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
Feature: Helm Chart
User will be able to navigate to Helm tab

Background:
Given user logged into the openshift application
And user is at developer perspecitve


@regression, @smoke
Scenario: Open the Helm tab on the navigation bar when helm charts are absent: HR-11-TC02
Given user is at the developer perspecitve
When user clicks on the Helm tab
Then helm releases page will get opened
And user will see the message of no helm charts present
And user will get the link to install helm charts from developer catalog


@regression, @smoke
Scenario: Install Helm Chart: 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 'Node-ex-k' helm chart
And user clicks on the 'Node-ex-k' helm chart card
And user clicks on the Install Helm Chart button
And user clicks on the Install button
Then user is redirected to Topology page
And Topology page have the helm chart workload


@regression, @smoke
Scenario: Open the Helm tab on the navigation bar when helm charts are present: HR-11-TC01
Given user is at the developer perspecitve
When user clicks on the Helm tab
Then helm releases page will get opened
And user will see the helm charts listed


@regression
Scenario: Enable the deployed helm charts' filter: HR-11-TC02
Given user is at the Helm page
When user clicks on the filter drop down menu
And user selects checkbox for the Deployed Helm charts
Then the checkbox for the Deployed Helm chart is checked
And helm charts with status deployed are listed


@regression
Scenario: Enable the failed helm charts' filter: HR-11-TC03
Given user is at the Helm page
When user clicks on the filter drop down menu
And user selects checkbox for the Failed Helm charts
Then the checkbox for the Failed Helm chart is checked
And helm charts with status failed are listed


@regression
Scenario: Enable the other helm charts' filter: HR-11-TC04
Given user is at the Helm page
When user clicks on the filter drop down menu
And user selects checkbox for the Other Helm charts
Then the checkbox for the Other Helm chart is checked
And helm charts with status other are listed


@regression
Scenario: Select all filters: HR-11-TC05
Given user is at Helm page
When user clicks on the filter drop down menu
And user selects checkbox for the Deployed Helm charts
And user selects checkbox for the Failed Helm charts
And user selects checkbox for the Other Helm charts
Then the checkbox for the Deployed Helm chart is checked
And the checkbox for the Failed Helm chart is checked
And the checkbox for the Other Helm chart is checked


@regression
Scenario: Clear all filters: HR-11-TC06
Given user has selected all filters
When user click on the clear all filters button
Then all filters selected will get removed


@regression
Scenario: Search for the Helm Chart: HR-11-TC07
Given user is at Helm page
When user searches for a helm chart
Then the helm charts with that search name will be shown


@regression, @smoke
Scenario: Click on the helm chart name to open the helm release details page: HR-11-TC08
Given user is at Helm page
When user clicks on the helm release name
Then user will see the Details page opened
And user will see the Resources tab
And user will see the Revision History tab
And user will see the Release Notes tab
And user will see the Actions drop down menu
And user sees the Upgrade action item
And user sees the Rollback action item
And user sees the Uninstall Helm Release action item
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
Feature: Helm Chart
User will be able to open the context menu and side bar for the helm releases

Background:
Given user logged into the openshift application
And user is at developer perspecitve


@regression, @smoke
Scenario: Install Helm Chart: 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 'Node-ex-k' helm chart
And user clicks on the 'Node-ex-k' helm chart card
And user clicks on the Install Helm Chart button
And user clicks on the Install button
Then user is redirected to Topology page
And Topology page have the helm chart workload


@regression, @smoke
Scenario: Open Context Menu and check the actions available for Helm Release: HR-08-TC01
Given user is on the Topology page
When user right clicks on the helm release
Then user sees the context menu with actions


@regression, @smoke
Scenario: Open Side Bar for the Helm release: HR-10-TC01
Given user is on the Topology page
When user clicks on the helm release
Then user sees the sidebar for the helm release


@regression, @smoke
Scenario: Tabs on the sidebar: HR-10-TC02
Given user is on the sidebar for the helm release
Then user sees the Details tab
And user sees the Resources tab
And user sees the Release Notes tab


@regression
Scenario: Deployment Configs link on the sidebar for the Helm Release: HR-10-TC03
Given user is on the sidebar for the helm release
When user switches to the Resources tab
And user clicks on the link for the deployment config of helm release
Then user is redirected to the Deployment Config Details page for the helm release


@regression
Scenario: Build Configs link on the sidebar for the Helm Release: HR-10-TC03
Given user is on the sidebar for the helm release
When user switches to the Resources tab
And user clicks on the link for the build config of helm release
Then user is redirected to the Build Config Details page for the helm release


@regression
Scenario: Services link on the sidebar for the Helm Release: HR-10-TC03
Given user is on the sidebar for the helm release
When user switches to the Resources tab
And user clicks on the link for the services of helm release
Then user is redirected to the Service Details page for the helm release


@regression
Scenario: Image Streams link on the sidebar for the Helm Release: HR-10-TC03
Given user is on the sidebar for the helm release
When user switches to the Resources tab
And user clicks on the link for the image stream of helm release
Then user is redirected to the Image Stream Details page for the helm release


@regression
Scenario: Routes link on the sidebar for the Helm Release: HR-10-TC03
Given user is on the sidebar for the helm release
When user switches to the Resources tab
And user clicks on the link for the routes of helm release
Then user is redirected to the Route Details page for the helm release


@regression, @smoke
Scenario: Open Actions drop down menu on the side bar: HR-10-TC04
Given user is on the side bar for helm release
When user clicks on the Actions drop down menu
Then user sees the Upgrade action item
And user sees the Rollback action item
And user sees the Uninstall Helm Release action item

0 comments on commit 7892c92

Please sign in to comment.