ui.test_edit_account

Tests for the Edit Account wizard interface.

caseautomation:automated
casecomponent:ui
caseimportance:low
caselevel:integration
requirement:Cloud Meter
testtype:functional
upstream:yes
integrade.tests.ui.test_edit_account.open_account_menu(browser_session, name)

Open the menu for a given account by name.

integrade.tests.ui.test_edit_account.test_account_delete(cloud_account_data, browser_session, ui_user, ui_acct_list)

Accounts can be deleted from the account summary list.

Id:

f941ac0f-ee46-4085-a92c-acff394fa6fe

Description:

The account menu includes a Delete option which prompts you before deleting the cloud account from your cloudigrade account.

Steps:
  1. Click the menu icon on the account you’d like to delete
  2. Click “Delete” in the dropdown menu
  3. Click “Delete” in the confirmation dialog
Expectedresults:
 

The account should be removed from your list.

integrade.tests.ui.test_edit_account.test_edit_account_name(drop_account_data, browser_session, ui_dashboard, ui_user)

The user can edit the name of an account which already exists.

Id:

3a63ddbc-b153-415e-a6d1-b7255e0d1f80

Description:

An account on the dashboard can be given a new name.

Steps:
  1. Open the dashboard logged in as a user who has at least 1 cloud account registered.
  2. Click the three-dot menu icon at the right of the account summary
  3. Click “Edit Name”
  4. Enter a different name and press “Save”
Expectedresults:
 

The account is now listed in the dashboard with the newly chosen name.