2023-04-13 10:32:25 +00:00
Feature : Status Desktop Wallet Section Wallet Account Management
A s a u s e r I w a n t t o a d d e d i t r e m o v e d i f f e r e n t t y p e s o f w a l l e t a c c o u n t s
2023-05-17 14:39:58 +00:00
Background :
Given 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
Given t h e 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 "
And 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
And t h e u s e r o p e n s t h e w a l l e t s e c t i o n
And 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
2023-07-25 10:12:20 +00:00
Scenario Outline : The user can edit the default wallet account
2023-05-17 14:39:58 +00:00
When t h e u s e r s e l e c t s w a l l e t a c c o u n t w i t h " <name> "
2023-04-13 10:32:25 +00:00
And t h e u s e r e d i t s a n a c c o u n t w i t h " <name> " t o " <new_name> " w i t h c o l o r " # <new_color> " a n d e m o j i " <new_emoji> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <new_name> " a n d " # <new_color> " a n d e m o j i u n i c o d e " <new_emoji_unicode> " i n a c c o u n t s l i s t
2023-04-13 10:32:25 +00:00
Examples :
2023-05-17 14:39:58 +00:00
| n a m e | n e w _ n a m e | n e w _ c o l o r | n e w _ e m o j i | n e w _ e m o j i _ u n i c o d e |
2023-05-22 15:55:47 +00:00
| S t a t u s a c c o u n t | M y P r i m a r y A c c o u n t | 2 1 6 2 6 6 | s u n g l a s s e s | 1 f 6 0 e |
2023-04-13 10:32:25 +00:00
2023-07-25 10:12:20 +00:00
Scenario Outline : The user can add, edit and remove a watch only account
When t h e u s e r a d d s a w a t c h o n l y a c c o u n t " <address> " w i t h " <name> " c o l o r " # <color> " a n d e m o j i " <emoji> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
2023-04-13 10:32:25 +00:00
When t h e u s e r e d i t s a n a c c o u n t w i t h " <name> " t o " <new_name> " w i t h c o l o r " # <new_color> " a n d e m o j i " <new_emoji> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <new_name> " a n d " # <new_color> " a n d e m o j i u n i c o d e " <new_emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r r e m o v e s a c c o u n t " <new_name> "
Then t h e a c c o u n t w i t h " <new_name> " i s n o t d i s p l a y e d
Examples :
2023-07-25 10:12:20 +00:00
| a d d r e s s | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e | n e w _ n a m e | n e w _ c o l o r | n e w _ e m o j i | n e w _ e m o j i _ u n i c o d e |
| 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 | A c c W a t c h 1 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | A c c W a t c h 1 e d i t e d | 2 1 6 2 6 6 | t h u m b s u p | 1 f 4 4 d |
2023-05-17 14:39:58 +00:00
2023-07-25 10:12:20 +00:00
Scenario Outline : The user can add, edit and remove generated account with default derivation path
When t h e u s e r a d d s a g e n e r a t e d a c c o u n t w i t h " <name> " c o l o r " # <color> " a n d e m o j i " <emoji> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
2023-04-13 10:32:25 +00:00
When t h e u s e r e d i t s a n a c c o u n t w i t h " <name> " t o " <new_name> " w i t h c o l o r " # <new_color> " a n d e m o j i " <new_emoji> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <new_name> " a n d " # <new_color> " a n d e m o j i u n i c o d e " <new_emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r r e m o v e s a c c o u n t " <new_name> " w i t h a g r e e m e n t
Then t h e a c c o u n t w i t h " <new_name> " i s n o t d i s p l a y e d
2023-04-13 10:32:25 +00:00
Examples :
2023-07-25 10:12:20 +00:00
| n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e | n e w _ n a m e | n e w _ c o l o r | n e w _ e m o j i | n e w _ e m o j i _ u n i c o d e |
| G e n A c c 1 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | G e n A c c 1 e d i t e d | 2 1 6 2 6 6 | t h u m b s u p | 1 f 4 4 d |
2023-05-17 14:39:58 +00:00
2023-07-25 10:12:20 +00:00
Scenario Outline : The user can add, edit and remove an account, imported with private key
2023-05-17 14:39:58 +00:00
When t h e u s e r a d d s a p r i v a t e k e y a c c o u n t " <private_key> " w i t h " <name> " c o l o r " # <color> " a n d e m o j i " <emoji> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
2023-04-13 10:32:25 +00:00
When t h e u s e r e d i t s a n a c c o u n t w i t h " <name> " t o " <new_name> " w i t h c o l o r " # <new_color> " a n d e m o j i " <new_emoji> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <new_name> " a n d " # <new_color> " a n d e m o j i u n i c o d e " <new_emoji_unicode> " i n a c c o u n t s l i s t
2023-12-12 10:16:10 +00:00
When t h e u s e r r e m o v e s a c c o u n t " <new_name> " w i t h a g r e e m e n t
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t w i t h " <new_name> " i s n o t d i s p l a y e d
2023-04-13 10:32:25 +00:00
Examples :
2023-05-17 14:39:58 +00:00
| p r i v a t e _ k e y | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e | n e w _ n a m e | n e w _ c o l o r | n e w _ e m o j i | n e w _ e m o j i _ u n i c o d e |
2023-05-22 15:55:47 +00:00
| 2 d a a 3 6 a 3 a b e 3 8 1 a 9 c 0 1 6 1 0 b f 1 0 f d a 2 7 2 f b c 1 b 8 a 2 2 1 7 9 a 3 9 f 7 8 2 c 5 1 2 3 4 6 e 3 e 4 7 0 | P r i v K e y A c c 1 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | P r i v K e y A c c 1 e d i t e d | 2 1 6 2 6 6 | t h u m b s u p | 1 f 4 4 d |
2023-05-17 14:39:58 +00:00
2023-07-25 10:12:20 +00:00
Scenario Outline : The user can add, edit and remove generated account with custom derivation path
When t h e u s e r a d d s a c u s t o m g e n e r a t e d a c c o u n t w i t h " <name> " c o l o r " # <color> " e m o j i " <emoji> " a n d d e r i v a t i o n " <path> " " <address_index> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r r e m o v e s a c c o u n t " <name> " w i t h a g r e e m e n t
Then t h e a c c o u n t w i t h " <name> " i s n o t d i s p l a y e d
Examples :
| a d d r e s s _ i n d e x | p a t h | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e |
| 5 | E t h e r e u m | E t h e r e u m | 2 1 6 2 6 6 | s u n g l a s s e s | 1 f 6 0 e |
| 1 0 | E t h e r e u m T e s t n e t ( R o p s t e n ) | E t h e r e u m T e s t n e t | 7 1 4 0 f d | s u n g l a s s e s | 1 f 6 0 e |
| 1 5 | E t h e r e u m ( L e d g e r ) | E t h e r e u m L e d g e r | 2 a 7 9 9 b | s u n g l a s s e s | 1 f 6 0 e |
| 2 0 | E t h e r e u m ( L e d g e r L i v e / K e e p K e y ) | E t h e r e u m L e d g e r L i v e | 7 1 4 0 f d | s u n g l a s s e s | 1 f 6 0 e |
| 9 5 | N / A | C u s t o m p a t h | 2 1 6 2 6 6 | s u n g l a s s e s | 1 f 6 0 e |
Scenario Outline : The user manages can add, edit and remove an account, imported with seed phrase of 12, 18 and 24 words
2023-05-17 14:39:58 +00:00
When t h e u s e r a d d s a n i m p o r t e d s e e d p h r a s e a c c o u n t " <seed_phrase> " w i t h " <name> " c o l o r " # <color> " a n d e m o j i " <emoji> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
2023-04-13 10:32:25 +00:00
When t h e u s e r e d i t s a n a c c o u n t w i t h " <name> " t o " <new_name> " w i t h c o l o r " # <new_color> " a n d e m o j i " <new_emoji> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <new_name> " a n d " # <new_color> " a n d e m o j i u n i c o d e " <new_emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r r e m o v e s a c c o u n t " <new_name> " w i t h a g r e e m e n t
Then t h e a c c o u n t w i t h " <name> " i s n o t d i s p l a y e d
Examples :
| s e e d _ p h r a s e | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e | n e w _ n a m e | n e w _ c o l o r | n e w _ e m o j i | n e w _ e m o j i _ u n i c o d e |
2023-05-22 15:55:47 +00:00
| e l i t e d i n o s a u r f l a v o r c a n o e g a r b a g e p a l a c e a n t i q u e d o l p h i n v i r t u a l m i x e d s a n d i m p a c t s o l u t i o n i n m a t e h a i r p i p e a f f a i r c a g e v o t e e s t a t e g l o o m l a m p r o b u s t l i k e | S P A c c 2 4 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | S P A c c 2 4 e d i t e d | 2 1 6 2 6 6 | t h u m b s u p | 1 f 4 4 d |
| k i t t e n t i n y c u p a d m i t c a c t u s s h r u g s h u f f l e a c c i d e n t c e n t u r y f a i t h r o o f p l a s t i c b e a c h p o l i c e b a r e l y v a c a n t s i g n b l o s s o m | S P A c c 1 8 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | S P A c c 1 8 e d i t e d | 2 1 6 2 6 6 | t h u m b s u p | 1 f 4 4 d |
| 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 | S P A c c 1 2 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | S P A c c 1 2 e d i t e d | 2 1 6 2 6 6 | t h u m b s u p | 1 f 4 4 d |
2023-04-13 10:32:25 +00:00
2023-07-25 10:12:20 +00:00
Scenario Outline : The user can add, edit and remove an account, generated with new master key
When t h e u s e r a d d s a g e n e r a t e d s e e d p h r a s e a c c o u n t w i t h " <name> " c o l o r " # <color> " e m o j i " <emoji> " a n d k e y p a i r " <keypair_name> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r e d i t s a n a c c o u n t w i t h " <name> " t o " <new_name> " w i t h c o l o r " # <new_color> " a n d e m o j i " <new_emoji> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <new_name> " a n d " # <new_color> " a n d e m o j i u n i c o d e " <new_emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r r e m o v e s a c c o u n t " <new_name> " w i t h a g r e e m e n t
Then t h e a c c o u n t w i t h " <name> " i s n o t d i s p l a y e d
Examples :
| k e y p a i r _ n a m e | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e | n e w _ n a m e | n e w _ c o l o r | n e w _ e m o j i | n e w _ e m o j i _ u n i c o d e |
| S P K e y P a i r | S P A c c | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | S P A c c _ e d i t e d | 2 1 6 2 6 6 | t h u m b s u p | 1 f 4 4 d |
Scenario Outline : The user can cancel generated account deletion
When t h e u s e r a d d s a g e n e r a t e d a c c o u n t w i t h " <name> " c o l o r " # <color> " a n d e m o j i " <emoji> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r s t a r t r e m o v i n g a c c o u n t " <name> " a n d c a n c e l i t
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
Examples :
| n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e |
| G e n A c c 1 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e |
# Test should be changed to reflect balance change instead of accounts list, will be done after it is changed in the app
@mayfail
Scenario Outline : The user can hide and show watch only account by clicking Hide / Show button
When t h e u s e r a d d s a w a t c h o n l y a c c o u n t " <address> " w i t h " <name> " c o l o r " # <color> " a n d e m o j i " <emoji> " v i a " <add_via_context_menu> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r o p e n s A l l a c c o u n t s v i e w
And t h e u s e r c l i c k s H i d e / S h o w w a t c h - o n l y b u t t o n
Then t h e a c c o u n t w i t h " <name> " i s n o t d i s p l a y e d
When t h e u s e r o p e n s A l l a c c o u n t s v i e w
And t h e u s e r c l i c k s H i d e / S h o w w a t c h - o n l y b u t t o n
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
Examples :
| a d d r e s s | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e | a d d _ v i a _ c o n t e x t _ m e n u |
| 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 | A c c W a t c h 1 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e | y e s |
# Test should be changed to reflect balance change instead of accounts list, will be done after it is changed in the app
@mayfail
Scenario Outline : The user cancel deleting watch only account
When t h e u s e r a d d s a w a t c h o n l y a c c o u n t " <address> " w i t h " <name> " c o l o r " # <color> " a n d e m o j i " <emoji> " v i a " <add_via_context_menu> "
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r s t a r t r e m o v i n g a c c o u n t " <name> " a n d c a n c e l i t
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
Examples :
| a d d r e s s | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e |
| 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 | A c c W a t c h 1 | 2 a 4 a f 5 | s u n g l a s s e s | 1 f 6 0 e |
# Test should be changed to check that adding more accounts to the keypair reflects in settings, otherwise it is almost a duplicated test
@mayfail
2023-05-17 14:39:58 +00:00
Scenario Outline : The user manages an account created from the imported seed phrase
2023-05-22 15:55:47 +00:00
When t h e u s e r a d d s a n i m p o r t e d s e e d p h r a s e a c c o u n t " 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 " w i t h " S P A c c 1 2 " c o l o r " # 2 a 4 a f 5 " a n d e m o j i " s u n g l a s s e s "
2023-06-02 14:34:09 +00:00
Then t h e a c c o u n t w i t h " S P A c c 1 2 " i s d i s p l a y e d
When t h e u s e r a d d s t o " p c s o m r s e l w " a c u s t o m g e n e r a t e d a c c o u n t w i t h " <name> " c o l o r " # <color> " e m o j i " <emoji> " a n d d e r i v a t i o n " <path> " " <address_index> "
2023-05-17 14:39:58 +00:00
And t h e u s e r r e m o v e s a c c o u n t " <name> " w i t h a g r e e m e n t
Then t h e a c c o u n t w i t h " <name> " i s n o t d i s p l a y e d
2023-04-13 10:32:25 +00:00
Examples :
2023-05-17 14:39:58 +00:00
| a d d r e s s _ i n d e x | p a t h | n a m e | c o l o r | e m o j i |
2023-05-22 15:55:47 +00:00
| 5 | E t h e r e u m | C u s t o m G e n A c c 1 | 2 1 6 2 6 6 | s u n g l a s s e s |
| 1 0 | E t h e r e u m T e s t n e t ( R o p s t e n ) | C u s t o m G e n A c c 2 | 7 1 4 0 f d | s u n g l a s s e s |
| 1 5 | E t h e r e u m ( L e d g e r ) | C u s t o m G e n A c c 3 | 2 a 7 9 9 b | s u n g l a s s e s |
| 2 0 | E t h e r e u m ( L e d g e r L i v e / K e e p K e y ) | C u s t o m G e n A c c 4 | 7 1 4 0 f d | s u n g l a s s e s |
| 9 5 | N / A | C u s t o m G e n A c c 1 | 2 1 6 2 6 6 | s u n g l a s s e s |
2023-05-17 14:39:58 +00:00
2023-07-25 10:12:20 +00:00
# Test should be changed to check that adding more accounts to the keypair reflects in settings, otherwise it is almost a duplicated test
2023-06-28 09:23:18 +00:00
@mayfail
2023-05-17 14:39:58 +00:00
Scenario Outline : The user manages an account created from the generated seed phrase
When t h e u s e r a d d s a g e n e r a t e d s e e d p h r a s e a c c o u n t w i t h " S P K e y P a i r " c o l o r " # <color> " e m o j i " <emoji> " a n d k e y p a i r " <keypair_name> "
2023-06-02 14:34:09 +00:00
Then t h e a c c o u n t w i t h " S P K e y P a i r " i s d i s p l a y e d
When t h e u s e r a d d s t o " <keypair_name> " a c u s t o m g e n e r a t e d a c c o u n t w i t h " <name> " c o l o r " # <color> " e m o j i " <emoji> " a n d d e r i v a t i o n " <path> " " <address_index> "
2023-05-17 14:39:58 +00:00
Then t h e a c c o u n t i s c o r r e c t l y d i s p l a y e d w i t h " <name> " a n d " # <color> " a n d e m o j i u n i c o d e " <emoji_unicode> " i n a c c o u n t s l i s t
When t h e u s e r r e m o v e s a c c o u n t " <name> " w i t h a g r e e m e n t
Then t h e a c c o u n t w i t h " <name> " i s n o t d i s p l a y e d
Examples :
| a d d r e s s _ i n d e x | p a t h | n a m e | c o l o r | e m o j i | e m o j i _ u n i c o d e | k e y p a i r _ n a m e |
2023-05-22 15:55:47 +00:00
| 5 | E t h e r e u m | C u s t o m G e n A c c 1 | 2 1 6 2 6 6 | s u n g l a s s e s | 1 f 6 0 e | S P K e y P a i r |
| 1 0 | E t h e r e u m T e s t n e t ( R o p s t e n ) | C u s t o m G e n A c c 2 | 7 1 4 0 f d | s u n g l a s s e s | 1 f 6 0 e | S P K e y P a i r |
| 1 5 | E t h e r e u m ( L e d g e r ) | C u s t o m G e n A c c 3 | 2 a 7 9 9 b | s u n g l a s s e s | 1 f 6 0 e | S P K e y P a i r |
| 2 0 | E t h e r e u m ( L e d g e r L i v e / K e e p K e y ) | C u s t o m G e n A c c 4 | 7 1 4 0 f d | s u n g l a s s e s | 1 f 6 0 e | S P K e y P a i r |
| 9 5 | N / A | C u s t o m G e n A c c 1 | 2 1 6 2 6 6 | s u n g l a s s e s | 1 f 6 0 e | S P K e y P a i r |
2023-05-17 14:39:58 +00:00
Scenario : The user adds an account and then decides to use a Keycard
When t h e u s e r a d d s n e w m a s t e r k e y a n d g o t o u s e a K e y c a r d
2023-05-22 15:55:47 +00:00
Then s e t t i n g s k e y c a r d s e c t i o n i s o p e n e d