Skip to content

Commit

Permalink
feature file added for import-export cases
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Shukla <[email protected]>
  • Loading branch information
shubhamshukla25 committed Aug 23, 2023
1 parent c444768 commit 479a3a0
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 19 deletions.
Binary file not shown.
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 packages/apollo/test/functional/features/9-Mustgather.feature

This file was deleted.

0 comments on commit 479a3a0

Please sign in to comment.