-
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 for helm feature flag and helm chart type filter-ODC-2994
- Loading branch information
Sanket
committed
Dec 15, 2020
1 parent
50f6041
commit d26c549
Showing
3 changed files
with
46 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
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
33 changes: 33 additions & 0 deletions
33
...d/packages/dev-console/integration-tests/features/helm/helm_feature_flag_ODC-5024.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,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 |