-
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.
Merge pull request #6047 from gajanan-more/odc-2922-topologyfilters
Gherkin Scripts Workload Groupings and Resources Drop Down Menu Scenarios - [ODC-2922]
- Loading branch information
Showing
2 changed files
with
232 additions
and
0 deletions.
There are no files selected for viewing
147 changes: 147 additions & 0 deletions
147
...ages/dev-console/integration-tests/features/topology/resources-Groupings-ODC-2922.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,147 @@ | ||
Feature: Resources Groupings in Topology | ||
User will be able to show and hide all types of resources on Topology graph and list view | ||
|
||
|
||
Background: | ||
Given user is at developer perspecitve | ||
|
||
|
||
@regression, @smoke | ||
Scenario: Default state of Resources dropdown | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
Then user sees that all the checkboxes are unchecked | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to show Deployment resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks Deployments checkbox | ||
And user unchecks other checkboxes if there are any | ||
Then user will see the workloads of Deployments resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to hide Deployment resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks all checkboxes | ||
And user unchecks Deployments checkbox | ||
Then user will not see the workloads of Deployments resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to show Deployment Config resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks Deployment Configs checkbox | ||
And user unchecks other checkboxes if there are any | ||
Then user will see the workloads of Deployment Configs resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to hide Deployment Config resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks all checkboxes | ||
And user unchecks Deployment Configs checkbox | ||
Then user will not see the workloads of Deployment Configs resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to show Virtual Machines resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks Virtual Machines checkbox | ||
And user unchecks other checkboxes if there are any | ||
Then user will see the workloads of Virtual Machines resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to hide Virtual Machines resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks all checkboxes | ||
And user unchecks Virtual Machines checkbox | ||
Then user will not see the workloads of Virtual Machines resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to show Event Sources resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks Event Sources checkbox | ||
And user unchecks other checkboxes if there are any | ||
Then user will see the workloads of Event Sources resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to hide Event Sources resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks all checkboxes | ||
And user unchecks Event Sources checkbox | ||
Then user will not see the workloads of Event Sources resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to show Helm Releases resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks Helm Releases checkbox | ||
And user unchecks other checkboxes if there are any | ||
Then user will see the workloads of Helm Releases resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to hide Helm Releases resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks all checkboxes | ||
And user unchecks Helm Releases checkbox | ||
Then user will not see the workloads of Helm Releases resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to show Knative Services resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks Knative Services checkbox | ||
And user unchecks other checkboxes if there are any | ||
Then user will see the Knative Services resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to hide Knative Services resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks all checkboxes | ||
And user unchecks Knative Services checkbox | ||
Then user will not see the Knative Services resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to show Stateful Set resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks Stateful Set checkbox | ||
And user unchecks other checkboxes if there are any | ||
Then user will see the workloads of Stateful Set resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to hide Stateful Set resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user checks all checkboxes | ||
And user unchecks Stateful Set checkbox | ||
Then user will not see the workloads of Stateful Set resource types only | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Ability to selects all resource types in Topology graph and list view | ||
Given user is at Topology page | ||
When user clicks on the Resources dropdown | ||
And user clicks on the Select All button | ||
Then user will see workloads of all resource types |
85 changes: 85 additions & 0 deletions
85
...kages/dev-console/integration-tests/features/topology/workload-Groupings-ODC-2922.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,85 @@ | ||
Feature: Workload Groupings in Topology | ||
User will be able to expand and collapse all groups on Topology graph and list view | ||
|
||
|
||
Background: | ||
Given user is at developer perspecitve | ||
|
||
|
||
@regression, @smoke | ||
Scenario: Default state of Display dropdown | ||
Given user is at the Topology page | ||
When user clicks on the Display dropdown | ||
Then user will see the Show Groups is checked | ||
And user will see the Expand is checked | ||
And user will see the Knative Services checkbox checked | ||
And user will see the Helm Releses checkbox checked | ||
And user will see the Operator Groups checkbox checked | ||
|
||
|
||
@regression, @smoke | ||
Scenario: Uncheck the Show Groups | ||
Given user is at the Topology page | ||
When user clicks on the Display dropdown | ||
And user unchecks the Show Groups | ||
Then user will see that the Expand and it's children are disabled | ||
And user will see that the group no longer appear in the view | ||
|
||
|
||
@regression, @smoke | ||
Scenario: Uncheck the Expand | ||
Given user is at Topology page | ||
When user clicks on the Display dropdown | ||
And user unchecks the Expand | ||
Then user will see the Knative Services checkbox is disabled | ||
And user will see the Helm Releses checkbox is disabled | ||
And user will see the Operator Groups checkbox is disabled | ||
|
||
|
||
@regression, @smoke | ||
Scenario: Provide ability to expand and collapse all groups in Topology graph view | ||
Given user is at Topology page | ||
And user is on the graph view | ||
When user clicks on the Display dropdown | ||
And user unchecks the Expand button | ||
Then user will see the grouped resources collapsed | ||
And user will see the summary of workloads | ||
|
||
|
||
@regression, @smoke | ||
Scenario: Provide ability to expand and collapse all groups in Topology list view | ||
Given user is at Topology page | ||
And user is on the list view | ||
When user clicks on the Display dropdown | ||
And user unchecks the Expand button | ||
Then user will see the grouped resources collapsed | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Provide ability to hide and show Helm release groupings in Topology graph and list view | ||
Given user is at the Topology page | ||
And user is at the graph view | ||
When user clicks on the Display dropdown | ||
And user unchecks the Helm Release checkbox | ||
Then user will see the Helm releases collapsed | ||
And user will see the summary of workloads | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Provide ability to hide and show Knative Services groupings in Topology graph and list view | ||
Given user is at the Topology page | ||
And user is at the graph view | ||
When user clicks on the Display dropdown | ||
And user unchecks the Knative Services checkbox | ||
Then user will see the Knative Services collapsed | ||
And user will see the summary of workloads | ||
|
||
|
||
@regression, @smoke, @manual | ||
Scenario: Provide ability to hide and show Operator Groups groupings in Topology graph and list view | ||
Given user is at the Topology page | ||
And user is at the graph view | ||
When user clicks on the Display dropdown | ||
And user unchecks the Operator Groups checkbox | ||
Then user will see the Operator Groups collapsed | ||
And user will see the summary of workloads |