-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Functional test] [WIP] Cluster feature #1063
Changes from 2 commits
a6ea712
d0b2790
052409b
8eb8bfc
c0f5e18
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,80 @@ | ||
Feature: CLUSTER | ||
Feature: CLUSTER | ||
|
||
Scenario: User views available cluster | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Scenario doesn't start with the user.
|
||
Given User is on "cluster list" page | ||
Then User sees one or more clusters available | ||
|
||
Scenario: Import Cluster page should be available | ||
Given User is on "cluster list" page | ||
And User has at least one "unmanaged" cluster | ||
When User should see the "import" button | ||
And User clicks on "import" button | ||
Then User sees the "import-clusters" page | ||
|
||
Scenario: Unmanage a cluster | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This scenario should come once the import is done so move it after There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will move this also in import and unmanage feature file |
||
Given User is on "cluster list" page | ||
And User has at least one "managed" cluster | ||
When User clicks on kebab menu | ||
And User clicks on "unmanage" button | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need consistency with being generic or not generic |
||
And User sees "Unmanage Cluster" dialog box | ||
And User clicks on "unmanage" button | ||
Then User sees "Cluster Task" dialog box | ||
And User closes "Cluster Tast" dialog box | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Task |
||
And User sees that cluster is unmanaged | ||
|
||
Scenario: Filter by valid cluster name | ||
Given User is on "cluster list" page | ||
And User has at least one "managed" cluster | ||
When User filters by a "valid" cluster name | ||
Then User should see the cluster name | ||
|
||
Scenario: Filter by invalid cluster name | ||
Given User is on "cluster list" page | ||
And User has at least one "managed" cluster | ||
When User filters by an "invalid" cluster name | ||
Then User should see no clusters | ||
|
||
Scenario: Cluster status Icon in list view | ||
Given User is on "cluster list" page | ||
And User has at least one "managed" cluster | ||
Then User should see the Cluster Status Icon | ||
|
||
Scenario: Cluster name in list view | ||
Given User is on "clusters" page | ||
And User has at least one "managed" cluster | ||
And User sees the hyperlink on "Cluster Name" | ||
When User clicks on "Cluster Name" | ||
Then User should see the "cluster hosts" page | ||
|
||
Scenario: Hosts in list view | ||
Given User is on "clusters" page | ||
And User has at least one "managed" cluster | ||
And User sees the hyperlink on "Host Number" | ||
When User clicks on "Host Number" | ||
Then User should see the "hosts" dialog box | ||
|
||
Scenario: Cluster options dropdown is clicked | ||
Given User is on "clusters" page | ||
And User has at least one "managed" cluster | ||
When User clicks cluster dropdown | ||
Then The cluster names are listed | ||
|
||
Scenario: Sort the Clusters by Name | ||
Given User is on "clusters" page | ||
When User should select "name" from the dropdown | ||
Then User should see the List view sorted on basis of "name" | ||
|
||
Scenario: Sort the Clusters by Status | ||
Given User is on "clusters" page | ||
When User should select "status" from the dropdown | ||
Then User should see the List view sorted on basis of "status" | ||
|
||
Scenario: Sort the Clusters by Cluster Version | ||
Given User is on "clusters" page | ||
When User should select "status" from the dropdown | ||
Then User should see the List view sorted on basis of "cluster version" | ||
|
||
Scenario: Sort the Clusters by Managed | ||
Given User is on "clusters" page | ||
When User should select "utilization" from the dropdown | ||
Then User should see the List view sorted on basis of "managed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the first scenario should be the user is on cluster list page and user is able to see one cluster at least.