diff --git a/packages/apollo/test/functional/features/9-MiscellaneousCases.feature b/packages/apollo/test/functional/features/9-MiscellaneousCases.feature new file mode 100644 index 00000000..4eecfc96 --- /dev/null +++ b/packages/apollo/test/functional/features/9-MiscellaneousCases.feature @@ -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 diff --git a/packages/apollo/test/functional/features/9-Mustgather.feature b/packages/apollo/test/functional/features/9-Mustgather.feature deleted file mode 100644 index 30424c65..00000000 --- a/packages/apollo/test/functional/features/9-Mustgather.feature +++ /dev/null @@ -1,19 +0,0 @@ -@saas @software @saas-minimal @mustgather -Feature: Verify mustgather tool 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' \ No newline at end of file