mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-08 20:56:39 +00:00
Major changes: - Don't allow empty network selection. End up using the nim model directly instead because of individual row changes issues encountered with nim models - Made the clone model a generic implementation to be used in other places where we need to clone a model: ReceiveModal, AddEditSavedAddressPopup - Use cloned model as alternative to NetworksExtraStoreProxy in ReceiveModal - Added tristate support to our generic checkbox control - UX improvements as per design - Fix save address tests naming and zero address issue - Various fixes Notes: - Failed to make NetworkSelectPopup follow ground-truth: show partially checked as user intention until the network is selected in the source model. Got stuck on nim models not being stable models and report wrong entry change when reset. Tried sorting and only updating changes without reset but it didn't work. - Moved grouped property SingleSelectionInfo to its own file from an inline component after finding out that it fails to load on Linux with error "Cannot assign to property of unknown type: "*".". It works on MacOS as expected Closes: #10119
43 lines
2.0 KiB
Gherkin
43 lines
2.0 KiB
Gherkin
Feature: Status Desktop Wallet
|
|
|
|
As a user I want to use the wallet
|
|
|
|
The feature start sequence is the following (setup on its own `bdd_hooks`):
|
|
|
|
** 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
|
|
** and the user opens the wallet section
|
|
** and the user accepts the signing phrase
|
|
|
|
#############################################
|
|
# WALLET SECTION PART
|
|
#############################################
|
|
|
|
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>"
|
|
Then the name "<new_name>" is in the list of saved addresses
|
|
|
|
When the user deletes the saved address with name "<new_name>"
|
|
Then the name "<new_name>" is not in the list of saved addresses
|
|
|
|
# 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"
|
|
Examples:
|
|
| name | address | new_name |
|
|
| bar | 0x8397bc3c5a60a1883174f722403d63a8833312b7 | foo |
|
|
|
|
|
|
#############################################
|
|
# 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
|
|
And the user edits default account to "Default" name and "#FFCA0F" color
|
|
Then the default account is updated to be named "DefaultStatus account" with color "#FFCA0F" |