test(@wallet): Add test for toggling network & balance

This commit is contained in:
Anthony Laibe 2022-08-08 12:07:29 +02:00 committed by Khushboo-dev-cpp
parent b06bae0d4e
commit c721bdc2a4
1 changed files with 18 additions and 0 deletions

View File

@ -71,6 +71,24 @@ Feature: Status Desktop Wallet
| name | address | new_name | | name | address | new_name |
| bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo | | bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo |
Scenario Outline: User can delete a saved address
When the user adds a saved address named <name> and address <address>
And the user deletes the saved address with name <name>
Then the name <name> is not in the list of saved addresses
Examples:
| name | address |
| one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
Scenario Outline: User can edit a saved address
When the user adds a saved address named <name> and address <address>
And the user edits a saved address with name <name> to <new_name>
Then the name <new_name><name> is in the list of saved addresses
Examples:
| name | address | new_name |
| bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo |
Scenario Outline: User can delete a saved address Scenario Outline: User can delete a saved address
When the user adds a saved address named <name> and address <address> When the user adds a saved address named <name> and address <address>
And the user deletes the saved address with name <name> And the user deletes the saved address with name <name>