Skip to content

Commit

Permalink
gherkin script for helm feature flag and helm chart type filter-ODC-2994
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket committed Dec 15, 2020
1 parent 50f6041 commit d26c549
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,14 @@ Feature: Developer Catalog Page
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


@smoke, @manual
Scenario: Helm Charts filter specific to helm chart type
Given user has added multiple helm charts repositories
And user is at Developer Catalog page
When user clicks on Helm Charts type
And user selects Red Hat Helm Charts from the list of Chart Repositories
Then user will see the cards of Helm Charts from Red Hat Helm Charts
And user will see Filter by Keyword field
And user will see A-Z, Z-A sort by dropdown
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,33 @@
Feature: Feature flag for Helm
As a user, I want to disable helm specific navigation items from console if there are no helm repositories configured in the console.


Background:
Given user is at developer perspecitve
And user has selected namespace "aut-helm-feature-flag"


@regression, @manual
Scenario: Disable helm features in console
Given user is at Helm Chart Repositories page
And user can see only the default "redhat-helm-repo" CR is available
When user opens "redhat-helm-repo" CR
And user goes to YAML tab
And user adds "disabled: true" flag under "spec"
And user clicks on Save
Then user is not able to see the Helm tab in the navigation menu
And user can not see Helm Chart card in Add page
And user can not see Helm Charts filter in the Developer Catalog page


@regression, @manual
Scenario: Enable the disabled helm features in console
Given user has disabled helm features
And the default "redhat-helm-repo" Helm Chart Repositories CR is available
When user opens "redhat-helm-repo" CR
And user goes to YAML tab
And user removes "disabled: true" flag under "spec"
And user clicks on Save
Then user is able to see the Helm tab in the navigation menu
And user can see Helm Chart card in Add page
And user can see Helm Charts filter in the Developer Catalog page

0 comments on commit d26c549

Please sign in to comment.