2022-07-18 08:37:37 +00:00
|
|
|
Feature: Status Desktop Wallet
|
|
|
|
|
|
|
|
As a user I want to use the wallet
|
|
|
|
|
2023-02-24 12:59:14 +00:00
|
|
|
The feature start sequence is the following (setup on its own `bdd_hooks`):
|
2022-07-18 08:37:37 +00:00
|
|
|
|
2022-10-21 07:17:48 +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"
|
|
|
|
** and the user lands on the signed in app
|
2023-03-17 11:39:50 +00:00
|
|
|
** and the user opens the wallet section
|
2022-10-21 07:17:48 +00:00
|
|
|
** and the user accepts the signing phrase
|
|
|
|
|
2023-04-04 14:41:57 +00:00
|
|
|
#############################################
|
|
|
|
# WALLET SECTION PART
|
|
|
|
#############################################
|
2022-08-10 09:23:06 +00:00
|
|
|
|
2022-10-21 07:17:48 +00:00
|
|
|
Scenario Outline: The user can manage 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>"
|
2023-04-05 11:10:44 +00:00
|
|
|
Then the name "<new_name>" is in the list of saved addresses
|
2023-03-15 06:09:47 +00:00
|
|
|
|
2023-04-05 11:10:44 +00:00
|
|
|
When the user deletes the saved address with name "<new_name>"
|
|
|
|
Then the name "<new_name>" is not in the list of saved addresses
|
2023-03-15 06:09:47 +00:00
|
|
|
|
2023-05-14 10:21:19 +00:00
|
|
|
When the user adds a saved address named "<name>" and ENS name "<ens_name>"
|
|
|
|
Then the name "<name>" is in the list of saved addresses
|
|
|
|
|
2023-03-15 06:09:47 +00:00
|
|
|
# Test for toggling favourite button is disabled until favourite functionality is enabled
|
|
|
|
# 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"
|
2023-02-24 12:59:14 +00:00
|
|
|
Examples:
|
2023-05-14 10:21:19 +00:00
|
|
|
| name | address | new_name | ens_name |
|
|
|
|
| bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo | status.eth |
|
2023-04-04 14:41:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
#############################################
|
|
|
|
# WALLET SETTINGS PART
|
|
|
|
#############################################
|
|
|
|
|
|
|
|
Scenario: The user edits the default account
|
|
|
|
Given the user opens app settings screen
|
|
|
|
And the user opens the wallet settings
|
|
|
|
When the user selects the default account
|
2023-05-22 15:55:47 +00:00
|
|
|
And the user edits default account to "Default" name and "#f6af3c" color
|
|
|
|
Then the default account is updated to be named "DefaultStatus account" with color "#f6af3c"
|