2022-11-16 12:06:37 +00:00
Feature : Status Desktop Main Settings Section
2022-08-10 10:57:21 +00:00
2022-11-16 12:06:37 +00:00
A s a u s e r I w a n t t o l o g i n t h e a p p g o t o S e t t i n g s a n d m a k e b a s i c s e t t i n g s a c t i o n s l i k e c h a n g e m y o n l i n e s t a t e a n d / o r s t o r e m y s e e d p h r a s e .
2022-08-10 10:57:21 +00:00
2022-11-16 12:06:37 +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 ` ) :
* * 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 10:57:21 +00:00
2022-11-16 12:06:37 +00:00
Background : Open settings section
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-16 16:35:10 +00:00
2022-11-16 12:06:37 +00:00
# TODO: It must be reformulated or extracted to a different feature file bc preconditions of this feature file also include closing the backup seed phrase indicator at first instance
# so the validation is not providing relevant information
Scenario : The user can backup seed phrase
Given t h e u s e r a c t i v a t e s w a l l e t
2022-10-21 07:17:48 +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-11-16 12:06:37 +00:00
When t h e u s e r b a c k s u p t h e w a l l e t s e e d p h r a s e
2022-08-12 16:31:39 +00:00
Then t h e b a c k u p s e e d p h r a s e i n d i c a t o r i s n o t d i s p l a y e d
2022-08-24 09:51:20 +00:00
Scenario : The user can switch state to offline
When t h e u s e r s s w i t c h e s s t a t e t o o f f l i n e
2022-08-12 16:31:39 +00:00
Then t h e u s e r a p p e a r s o f f l i n e
2022-11-16 12:06:37 +00:00
Given t h e u s e r r e s t a r t s t h e a p p
2022-10-19 10:39:48 +00:00
And t h e u s e r " t e s t e r 1 2 3 " l o g s i n w i t h p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
2022-08-12 16:31:39 +00:00
Then t h e u s e r a p p e a r s o f f l i n e
2022-08-24 09:51:20 +00:00
Scenario : The user can switch state to online
When t h e u s e r s s w i t c h e s s t a t e t o o f f l i n e
2022-08-12 16:31:39 +00:00
And t h e u s e r r e s t a r t s t h e a p p
2022-10-19 10:39:48 +00:00
And t h e u s e r " t e s t e r 1 2 3 " l o g s i n w i t h p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
2022-08-12 16:31:39 +00:00
Then t h e u s e r a p p e a r s o f f l i n e
2022-11-16 12:06:37 +00:00
2022-08-24 09:51:20 +00:00
When t h e u s e r s s w i t c h e s s t a t e t o o n l i n e
2022-08-12 16:31:39 +00:00
Then t h e u s e r a p p e a r s o n l i n e
2022-11-16 12:06:37 +00:00
2022-08-12 16:31:39 +00:00
When t h e u s e r r e s t a r t s t h e a p p
2022-10-19 10:39:48 +00:00
And t h e u s e r " t e s t e r 1 2 3 " l o g s i n w i t h p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
2022-08-12 16:31:39 +00:00
Then t h e u s e r a p p e a r s o n l i n e
2022-11-16 12:06:37 +00:00
Scenario : The user can switch state to automatic
2022-08-24 09:51:20 +00:00
When t h e u s e r s s w i t c h e s s t a t e t o a u t o m a t i c
2022-08-12 16:31:39 +00:00
Then t h e u s e r s t a t u s i s a u t o m a t i c
2022-11-16 12:06:37 +00:00
2022-08-12 16:31:39 +00:00
When t h e u s e r r e s t a r t s t h e a p p
2022-10-19 10:39:48 +00:00
And t h e u s e r " t e s t e r 1 2 3 " l o g s i n w i t h p a s s w o r d " T e s T E r 1 6 8 4 3 / ! @ 0 0 "
2022-08-12 16:31:39 +00:00
Then t h e u s e r s t a t u s i s a u t o m a t i c
2022-08-29 18:03:50 +00:00
2022-11-16 12:06:37 +00:00
Scenario : The user can change the password and login with new password
2022-08-24 09:51:20 +00:00
When t h e u s e r c h a n g e s t h e p a s s w o r d f r o m T e s T E r 16843 / ! @ 00 t o N e w P a s s w o r d @ 12345
And t h e u s e r r e s t a r t s t h e a p p
2022-10-19 10:39:48 +00:00
And t h e u s e r " t e s t e r 1 2 3 " l o g s i n w i t h p a s s w o r d " N e w P a s s w o r d @ 1 2 3 4 5 "
2022-08-24 09:51:20 +00:00
Then 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