2022-07-18 08:37:37 +00:00
|
|
|
Feature: Status Desktop Wallet
|
|
|
|
|
|
|
|
As a user I want to use the wallet
|
|
|
|
|
|
|
|
Background: Sign up & Enable wallet section
|
2022-08-05 19:52:34 +00:00
|
|
|
Given A first time user lands on the status desktop and generates new key
|
|
|
|
When user signs up with username tester123 and password TesTEr16843/!@00
|
|
|
|
Then the user lands on the signed in app
|
|
|
|
When the user opens app settings screen
|
2022-07-18 08:37:37 +00:00
|
|
|
When the user activates wallet and opens the wallet section
|
2022-07-21 12:15:02 +00:00
|
|
|
When the user accepts the signing phrase
|
2022-07-18 08:37:37 +00:00
|
|
|
|
2022-08-10 07:14:01 +00:00
|
|
|
Scenario Outline: User adds a watch only account
|
|
|
|
When the user adds watch only account with <account_name> and <address>
|
|
|
|
Then the new account <account_name> is added
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| account_name | address |
|
|
|
|
| one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
|
|
|
| two | 0xf51ba8631618b9b3521ff4eb9adfd8a837455226 |
|
2022-07-18 08:37:37 +00:00
|
|
|
|
|
|
|
|
2022-07-20 08:18:27 +00:00
|
|
|
Scenario Outline: User generates a new account from wallet
|
|
|
|
When the user generates a new account with <account_name> and TesTEr16843/!@00
|
2022-07-18 08:37:37 +00:00
|
|
|
Then the new account <account_name> is added
|
|
|
|
|
2022-08-05 19:52:34 +00:00
|
|
|
Examples:
|
|
|
|
| account_name |
|
|
|
|
| one |
|
|
|
|
| two |
|
|
|
|
|
2022-08-10 07:14:01 +00:00
|
|
|
Scenario Outline: User imports a private key
|
|
|
|
When the user imports a private key with <account_name> and TesTEr16843/!@00 and <private_key>
|
|
|
|
Then the new account <account_name> is added
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| account_name | private_key |
|
|
|
|
| one | 8da4ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f |
|
|
|
|
|
|
|
|
Scenario Outline: User imports a seed phrase
|
|
|
|
When the user imports a seed phrase with <account_name> and TesTEr16843/!@00 and <seed_phrase>
|
|
|
|
Then the new account <account_name> is added
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| account_name | seed_phrase |
|
|
|
|
| one | indoor dish desk flag debris potato excuse depart ticket judge file exit |
|
2022-08-05 19:52:34 +00:00
|
|
|
|
|
|
|
Scenario Outline: User deletes a generated account
|
2022-07-20 08:18:27 +00:00
|
|
|
When the user generates a new account with <account_name> and TesTEr16843/!@00
|
|
|
|
And the user deletes the account <account_name>
|
|
|
|
Then the account <account_name> is not in the list of accounts
|
|
|
|
|
2022-08-05 19:52:34 +00:00
|
|
|
Examples:
|
|
|
|
| account_name |
|
|
|
|
| one |
|
|
|
|
|
2022-08-08 10:07:29 +00:00
|
|
|
Scenario Outline: User adds a saved address
|
|
|
|
When the user adds a saved address named <name> and address <address>
|
|
|
|
Then the name <name> is in the list of saved addresses
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| name | address |
|
|
|
|
| one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
|
|
|
|
2022-08-08 10:07:29 +00:00
|
|
|
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:
|
2022-08-24 08:23:43 +00:00
|
|
|
| name | address | new_name |
|
|
|
|
| bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo |
|
2022-08-08 10:07:29 +00:00
|
|
|
|
|
|
|
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:
|
2022-08-24 08:23:43 +00:00
|
|
|
| name | address |
|
|
|
|
| one | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
|
|
|
|
|
|
|
Scenario Outline: User can toggle favourite for a saved address
|
|
|
|
When the user adds a saved address named <name> and address <address>
|
|
|
|
And the user toggles favourite for the saved address with name <name>
|
|
|
|
Then the saved address <name> has favourite status true
|
|
|
|
When the user toggles favourite for the saved address with name <name>
|
|
|
|
Then the saved address <name> has favourite status false
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| name | address |
|
|
|
|
| favourite | 0x8397bc3c5a60a1883174f722403d63a8833312b7 |
|
2022-08-08 10:07:29 +00:00
|
|
|
|
2022-08-12 18:55:06 +00:00
|
|
|
@mayfail
|
|
|
|
Scenario: User can toggle network and see balances
|
|
|
|
When the user opens app settings screen
|
|
|
|
And the user opens the wallet settings
|
|
|
|
And the user toggles test networks
|
|
|
|
And the user opens wallet screen
|
|
|
|
And the user adds watch only account with one and 0x5fFa75CE51c3a7ebE23BdE37b5E3A0143DfBceE0
|
|
|
|
And the user toggles the network Ropsten
|
|
|
|
Then the user has a positive balance of ETH
|
|
|
|
And the user has a positive balance of STT
|
2022-08-10 09:23:06 +00:00
|
|
|
|
|
|
|
Scenario Outline: User can edit the default wallet account
|
|
|
|
When the user opens app settings screen
|
|
|
|
And the user opens the wallet settings
|
|
|
|
And the user selects the default account
|
|
|
|
And the user edits default account to <new_name> name and <new_color> color
|
|
|
|
Then the new account with name <new_name>Status account and color <new_color> is updated
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| new_name | new_color |
|
|
|
|
| Default | #FFCA0F |
|
2022-08-10 14:26:29 +00:00
|
|
|
|
2022-08-24 08:23:43 +00:00
|
|
|
Scenario Outline: Can see collectibles for an account
|
2022-08-10 14:26:29 +00:00
|
|
|
When the user adds watch only account with <account_name> and <address>
|
|
|
|
Then the collectibles are listed for the <account_name>
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| account_name | address |
|
|
|
|
| YugaLabs | 0xA858DDc0445d8131daC4d1DE01f834ffcbA52Ef1 |
|