-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature file added for import-export cases
Signed-off-by: Shubham Shukla <[email protected]>
- Loading branch information
1 parent
c444768
commit 479a3a0
Showing
3 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
50 changes: 50 additions & 0 deletions
50
packages/apollo/test/functional/features/9-MiscellaneousCases.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,50 @@ | ||
@saas @software @saas-minimal @mustgather | ||
Feature: Verify miscellaneous cases of console works as expected | ||
|
||
Scenario: Run mustgather tool | ||
Given I go to the console | ||
And I am logged in | ||
And I am ready to get started | ||
And I am on Help page | ||
Then wait "2" seconds | ||
And I clicked the button with text 'Start mustgather' | ||
Then wait "30" seconds | ||
And I clicked anchor with text 'Download results' | ||
Then wait "10" seconds | ||
And I clicked the button with text 'Run again' | ||
Then wait "30" seconds | ||
And I clicked the button with xpath "//div[text()='Delete mustgather pod and service']" | ||
Then wait "20" seconds | ||
And I clicked the button with text 'Start mustgather' | ||
|
||
Scenario: Import peer, certificate authority, orderer and delete them | ||
Given I go to the console | ||
And I am logged in | ||
And I am ready to get started | ||
And I am on the 'settings' page | ||
And I clicked the button with text 'Export' | ||
And I clicked the button with id 'export_button' | ||
Then wait "5" seconds | ||
And I clicked the button with text 'Import' | ||
And I upload file '/assets/Import/IBP_Import.zip' to 'file-uploader' input | ||
And I clicked the button with id 'import_button' | ||
Then wait "30" seconds | ||
And I am on the 'nodes' page | ||
Then a tile with title 'Peer_Import' should have been created | ||
Then a tile with title 'CA_Import' should have been created | ||
Then a tile with title 'OS_Import' should have been created | ||
And I clicked the tile with title 'Peer_Import' | ||
And I clicked the button with id 'peer_import-sticky-delete-button' | ||
And I provided 'Peer_Import' for the 'Type here' input | ||
And I clicked the button with text 'Remove peer' | ||
Then wait "5" seconds | ||
And I clicked the tile with title 'CA_Import' | ||
And I clicked the button with id 'ca_import-sticky-delete-button' | ||
And I provided 'CA_Import' for the 'Type here' input | ||
And I clicked the button with text 'Remove Certificate Authority' | ||
Then wait "5" seconds | ||
And I clicked the tile with title 'OS_Import' | ||
And I clicked the button with id 'os_import_1-sticky-delete-button' | ||
And I provided 'OS_Import' for the 'Type here' input | ||
And I clicked the button with text 'Remove ordering service' | ||
Then wait "5" seconds |
19 changes: 0 additions & 19 deletions
19
packages/apollo/test/functional/features/9-Mustgather.feature
This file was deleted.
Oops, something went wrong.