Skip to content
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

Feature file added for import-export cases #520

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading