2022-07-18 08:37:37 +00:00
Feature : Status Desktop Wallet
A s a u s e r I w a n t t o u s e t h e w a l l e t
2022-10-21 07:17:48 +00:00
T h e f e a t u r e s t a r t s e q u e n c e i s t h e f o l l o w i n g ( s e t u p o n i t s o w n ` b d d _ h o o k s ` ) :
2022-07-18 08:37:37 +00:00
2022-10-21 07:17:48 +00:00
* * g i v e n A f i r s t t i m e u s e r l a n d s o n t h e s t a t u s d e s k t o p a n d g e n e r a t e s n e w k e y
* * w h e n u s e r s i g n s u p w i t h u s e r n a m e " t e s t e r 1 2 3 " a n d p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
* * a n d t h e u s e r l a n d s o n t h e s i g n e d i n a p p
2022-08-10 07:14:01 +00:00
2022-10-21 07:17:48 +00:00
* * g i v e n t h e u s e r o p e n s a p p s e t t i n g s s c r e e n
* * a n d t h e u s e r a c t i v a t e s w a l l e t a n d o p e n s t h e w a l l e t s e c t i o n
* * a n d t h e u s e r a c c e p t s t h e s i g n i n g p h r a s e
Background : Navigation to main wallet screen
Given t h e u s e r o p e n s w a l l e t s c r e e n
And t h e u s e r c l i c k s o n t h e f i r s t a c c o u n t
2022-11-09 08:27:46 +00:00
Scenario : The user can manage and observe a watch only account
When t h e u s e r a d d s w a t c h o n l y a c c o u n t " 0 x e a 1 2 3 F 7 b e F F 4 5 E 3 C 9 f d F 5 4 B 3 2 4 c 2 9 D B d A 1 4 a 6 3 9 A " n a m e d " A c c o u n t W a t c h "
2022-10-21 07:17:48 +00:00
Then t h e n e w a c c o u n t " A c c o u n t W a t c h " i s a d d e d
2022-11-09 08:27:46 +00:00
And t h e u s e r h a s a p o s i t i v e b a l a n c e o f " E T H "
And t h e u s e r h a s a p o s i t i v e b a l a n c e o f " S N T "
# And the collectibles are listed for the on
# And the transactions are listed for the added account
2022-10-21 07:17:48 +00:00
Scenario : The user imports a private key
When a n a c c o u n t n a m e d " A c c o u n t P r i v a t e " i s a d d e d v i a p r i v a t e k e y " 8 d a 4 e f 2 1 b 8 6 4 d 2 c c 5 2 6 d b d b 2 a 1 2 0 b d 2 8 7 4 c 3 6 c 9 d 0 a 1 f b 7 f 8 c 6 3 d 7 f 7 a 8 b 4 1 d e 8 f " a n d a u t h e n t i c a t e d u s i n g p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
Then t h e n e w a c c o u n t " A c c o u n t P r i v a t e " i s a d d e d
Scenario : The user generates a new account from wallet and deletes it
When a n a c c o u n t n a m e d " A c c o u n t G e n e r a t e d " i s g e n e r a t e d a n d a u t h e n t i c a t e d u s i n g p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
Then t h e n e w a c c o u n t " A c c o u n t G e n e r a t e d " i s a d d e d
When t h e u s e r d e l e t e s t h e a c c o u n t " A c c o u n t G e n e r a t e d "
Then t h e a c c o u n t " A c c o u n t G e n e r a t e d " i s n o t i n t h e l i s t o f a c c o u n t s
2022-10-17 08:20:07 +00:00
2022-11-09 08:27:46 +00:00
Scenario : The user can import seed phrase
When a n a c c o u n t n a m e d " A c c o u n t S e e d " i s a d d e d v i a i m p o r t e d s e e d p h r a s e " p e l i c a n c h i e f s u d d e n o v a l m e d i a r a r e s w a m p e l e p h a n t l a w s u i t w h e a t k n i f e i n i t i a l " a n d a u t h e n t i c a t e d u s i n g p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
Then t h e n e w a c c o u n t " A c c o u n t S e e d " i s a d d e d
2022-10-21 07:17:48 +00:00
Scenario : The user edits the default account
Given t h e u s e r o p e n s a p p s e t t i n g s s c r e e n
2022-08-10 09:23:06 +00:00
And t h e u s e r o p e n s t h e w a l l e t s e t t i n g s
2022-10-21 07:17:48 +00:00
When t h e u s e r s e l e c t s t h e d e f a u l t a c c o u n t
And t h e u s e r e d i t s d e f a u l t a c c o u n t t o " D e f a u l t " n a m e a n d " # F F C A 0 F " c o l o r
Then t h e d e f a u l t a c c o u n t i s u p d a t e d t o b e n a m e d " D e f a u l t S t a t u s a c c o u n t " w i t h c o l o r " # F F C A 0 F "
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 t h e u s e r a d d s a s a v e d a d d r e s s n a m e d " <name> " a n d a d d r e s s " <address> "
And t h e u s e r t o g g l e s f a v o u r i t e f o r t h e s a v e d a d d r e s s w i t h n a m e " <name> "
Then t h e s a v e d a d d r e s s " <name> " h a s f a v o u r i t e s t a t u s " t r u e "
2022-08-10 14:26:29 +00:00
2022-10-21 07:17:48 +00:00
When t h e u s e r d e l e t e s t h e s a v e d a d d r e s s w i t h n a m e " <name> "
Then t h e n a m e " <name> " i s n o t i n t h e l i s t o f s a v e d a d d r e s s e s
2022-08-10 14:26:29 +00:00
2022-10-21 07:17:48 +00:00
When t h e u s e r a d d s a s a v e d a d d r e s s n a m e d " <name> " a n d a d d r e s s " <address> "
And t h e u s e r e d i t s a s a v e d a d d r e s s w i t h n a m e " <name> " t o " <new_name> "
Then t h e n a m e " <new_name> <name> " i s i n t h e l i s t o f s a v e d a d d r e s s e s
2022-10-17 08:20:07 +00:00
Examples :
| n a m e | a d d r e s s | n e w _ n a m e |
| b a r | 0 x 8 3 9 7 b c 3 c 5 a 6 0 a 1 8 8 3 1 7 4 f 7 2 2 4 0 3 d 6 3 a 8 8 3 3 3 1 2 b 7 | f o o |