2022-05-24 09:58:04 +00:00
#******************************************************************************
# Status.im
#*****************************************************************************/
#/**
# * \file test.feature
# *
# * \test Status Sign up
# * \date May 2022
# **
# *****************************************************************************/
Feature : Status Desktop Sign Up
2022-07-13 08:29:51 +00:00
A s a u s e r I w a n t t o S i g n - u p i n t o t h e S t a t u s D e s k t o p a p p l i c a t i o n .
T h e f o l l o w i n g s c e n a r i o s c o v e r S i g n u p p r o c e s s .
2022-07-07 23:56:21 +00:00
2022-07-13 08:29:51 +00:00
Scenario : User signs up and signs in with password
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
When 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 123 a n d p a s s w o r d T e s T E r 16843 / ! @ 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
2022-07-07 23:56:21 +00:00
2022-07-13 08:29:51 +00:00
Scenario Outline : User cannot sign up with wrong username format
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
2022-07-29 22:51:34 +00:00
When u s e r i n p u t s t h e f o l l o w i n g <username> w i t h u i - c o m p o n e n t o n b o a r d i n g _ D i p l a y N a m e _ I n p u t
Then t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ D e t a i l s V i e w _ N e x t B u t t o n i s n o t e n a b l e d
2022-07-07 23:56:21 +00:00
2022-07-13 08:29:51 +00:00
Examples :
| u s e r n a m e |
| A t h l |
| G r a |
| t e s t e r 3 @ |
2022-07-07 23:56:21 +00:00
2022-07-20 12:14:50 +00:00
Scenario Outline : User cannot sign up with wrong password format in both new password and confirmation input
2022-07-13 08:29:51 +00:00
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
When t h e u s e r i n p u t s u s e r n a m e <username>
2022-07-20 12:14:50 +00:00
When u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ n e w P s w _ I n p u t
And u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w _ I n p u t
Then t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ c r e a t e _ p a s s w o r d _ b u t t o n i s n o t e n a b l e d
2022-07-07 23:56:21 +00:00
2022-07-20 12:14:50 +00:00
Examples :
| u s e r n a m e | w r o n g p a s s w o r d |
| t e s t e r 1 2 3 | I n v a l i d 3 4 |
| t e s t e r 1 2 4 | b a d P |
| t e s t e r 1 2 4 | b a d 2 ! s |
2022-07-07 23:56:21 +00:00
2022-07-20 12:14:50 +00:00
Scenario Outline : User cannot sign up with right password format in new password input but incorrect in confirmation password input
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
When t h e u s e r i n p u t s u s e r n a m e <username>
When u s e r i n p u t s t h e f o l l o w i n g <password> w i t h u i - c o m p o n e n t o n b o a r d i n g _ n e w P s w _ I n p u t
And u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w _ I n p u t
Then t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ c r e a t e _ p a s s w o r d _ b u t t o n i s n o t e n a b l e d
2022-07-07 23:56:21 +00:00
2022-07-13 08:29:51 +00:00
Examples :
| u s e r n a m e | w r o n g p a s s w o r d | p a s s w o r d |
| t e s t e r 1 2 3 | I n v a l i d 3 4 | T e s T E r 1 6 8 4 3 / ! @ 0 0 |
| t e s t e r 1 2 4 | b a d P | T e s T E r 1 6 8 4 3 / ! @ 0 1 |
| t e s t e r 1 2 4 | b a d 2 ! s | T e s T E r 1 6 8 4 3 / ! @ 0 1 |
2022-07-07 23:56:21 +00:00
2022-07-20 12:14:50 +00:00
Scenario Outline : User cannot sign up with incorrect confirmation-again password
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
When t h e u s e r i n p u t s u s e r n a m e <username>
When u s e r i n p u t s t h e f o l l o w i n g <password> w i t h u i - c o m p o n e n t o n b o a r d i n g _ n e w P s w _ I n p u t
And u s e r i n p u t s t h e f o l l o w i n g <password> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w _ I n p u t
And u s e r c l i c k s o n t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ c r e a t e _ p a s s w o r d _ b u t t o n
And u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w A g a i n _ I n p u t
Then t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ f i n a l i s e _ p a s s w o r d _ b u t t o n i s n o t e n a b l e d
Examples :
| u s e r n a m e | w r o n g p a s s w o r d | p a s s w o r d |
| t e s t e r 1 2 3 | I n v a l i d 3 4 | T e s T E r 1 6 8 4 3 / ! @ 0 0 |
| t e s t e r 1 2 3 | T e s T E r 1 6 8 4 3 / ! @ ) | T e s T E r 1 6 8 4 3 / ! @ 0 1 |
2022-07-07 23:56:21 +00:00
2022-07-20 12:14:50 +00:00
Scenario Outline : User cannot finish Sign Up and Sign In process with wrong password format in both new password and confirmation input
2022-07-13 08:29:51 +00:00
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
When t h e u s e r i n p u t s u s e r n a m e <username>
2022-07-20 12:14:50 +00:00
When u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ n e w P s w _ I n p u t
And u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w _ I n p u t
Then t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ c r e a t e _ p a s s w o r d _ b u t t o n i s n o t e n a b l e d
2022-07-07 23:56:21 +00:00
2022-07-20 12:14:50 +00:00
Examples :
| u s e r n a m e | w r o n g p a s s w o r d |
| t e s t e r 1 2 3 | I n v a l i d 3 4 |
| t e s t e r 1 2 3 | T e s T E r 1 6 8 4 3 / ! @ ) |
2022-07-07 23:56:21 +00:00
2022-07-20 12:14:50 +00:00
Scenario Outline : User cannot finish Sign Up and Sign In process with right password format in new password input but incorrect in confirmation password input
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
When t h e u s e r i n p u t s u s e r n a m e <username>
When u s e r i n p u t s t h e f o l l o w i n g <password> w i t h u i - c o m p o n e n t o n b o a r d i n g _ n e w P s w _ I n p u t
And u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w _ I n p u t
Then t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ c r e a t e _ p a s s w o r d _ b u t t o n i s n o t e n a b l e d
2022-07-13 08:29:51 +00:00
Examples :
| u s e r n a m e | w r o n g p a s s w o r d | p a s s w o r d |
| t e s t e r 1 2 3 | I n v a l i d 3 4 | T e s T E r 1 6 8 4 3 / ! @ 0 0 |
| t e s t e r 1 2 3 | T e s T E r 1 6 8 4 3 / ! @ ) | T e s T E r 1 6 8 4 3 / ! @ 0 1 |
2022-07-20 12:14:50 +00:00
Scenario Outline : User cannot finish Sign Up and Sign In process with incorrect confirmation-again password
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
When t h e u s e r i n p u t s u s e r n a m e <username>
When u s e r i n p u t s t h e f o l l o w i n g <password> w i t h u i - c o m p o n e n t o n b o a r d i n g _ n e w P s w _ I n p u t
And u s e r i n p u t s t h e f o l l o w i n g <password> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w _ I n p u t
And u s e r c l i c k s o n t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ c r e a t e _ p a s s w o r d _ b u t t o n
And u s e r i n p u t s t h e f o l l o w i n g <wrongpassword> w i t h u i - c o m p o n e n t o n b o a r d i n g _ c o n f i r m P s w A g a i n _ I n p u t
Then t h e f o l l o w i n g u i - c o m p o n e n t o n b o a r d i n g _ f i n a l i s e _ p a s s w o r d _ b u t t o n i s n o t e n a b l e d
Examples :
| u s e r n a m e | w r o n g p a s s w o r d | p a s s w o r d |
| t e s t e r 1 2 3 | I n v a l i d 3 4 | T e s T E r 1 6 8 4 3 / ! @ 0 0 |
| t e s t e r 1 2 3 | T e s T E r 1 6 8 4 3 / ! @ ) | T e s T E r 1 6 8 4 3 / ! @ 0 1 |
2022-07-13 08:29:51 +00:00
Scenario : User signs up with imported 12 seed phrase
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 n a v i g a t e s t o i m p o r t s e e d p h r a s e
When T h e u s e r i n p u t s 12 s e e d p h r a s e s
| p h r a s e s | o c c u r r e n c e |
| l a w n | 1 |
| c o r n | 3 |
| p a d d l e | 5 |
| s u r v e y | 7 |
| s h r i m p | 9 |
| m i n d | 1 1 |
| s e l e c t | 2 |
| g a z e | 4 |
| a r r e s t | 6 |
| p e a r | 8 |
| r e d u c e | 1 0 |
| s c a n | 1 2 |
2022-07-29 22:51:34 +00:00
And u s e r c l i c k s o n t h e f o l l o w i n g u i - c o m p o n e n t s e e d P h r a s e V i e w _ S u b m i t _ B u t t o n
2022-07-13 08:29:51 +00:00
When 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 123 a n d p a s s w o r d T e s T E r 16843 / ! @ 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
When 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-07-18 08:37:37 +00:00
And 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 t t i n g s
2022-07-13 08:29:51 +00:00
Then t h e 12 s e e d p h r a s e a d d r e s s i s 0 x 8285 c b 9 b f 17 b 23 d 64 a 489 a 8 d a d 29163 d d 227 d 0 f d d i s p l a y e d i n t h e w a l l e t
Scenario : User signs up with imported 18 seed phrase
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 n a v i g a t e s t o i m p o r t s e e d p h r a s e
When T h e u s e r i n p u t s 18 s e e d p h r a s e s
| p h r a s e s | o c c u r r e n c e |
| f l i p | 1 |
| f o a m | 4 |
| t i m e | 7 |
| s i g h t | 1 0 |
| s c h e m e | 1 3 |
| d e s c r i b e | 1 6 |
| c a n d y | 2 |
| e r o s i o n | 5 |
| l a y e r | 8 |
| d e p t h | 1 1 |
| e x t e n d | 1 4 |
| d i s h | 1 7 |
| f o g | 3 |
| s e v e n | 6 |
| b u d g e t | 9 |
| d e n i a l | 1 2 |
| b o d y | 1 5 |
| d e v i c e | 1 8 |
2022-07-29 22:51:34 +00:00
And u s e r c l i c k s o n t h e f o l l o w i n g u i - c o m p o n e n t s e e d P h r a s e V i e w _ S u b m i t _ B u t t o n
2022-07-13 08:29:51 +00:00
When 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 124 a n d p a s s w o r d T e s T E r 16843 / ! @ 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
When 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-07-18 08:37:37 +00:00
And 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 t t i n g s
2022-07-13 08:29:51 +00:00
Then t h e 18 s e e d p h r a s e a d d r e s s i s 0 x b a 1 d 0 d 6 e f 35 d f 8751 d f 5 f a f 55 e b d 885 a d 0e877 b 0 d i s p l a y e d i n t h e w a l l e t
Scenario : User signs up with imported 24 seed phrase
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 n a v i g a t e s t o i m p o r t s e e d p h r a s e
When T h e u s e r i n p u t s 24 s e e d p h r a s e s
| p h r a s e s | o c c u r r e n c e |
| a b s t r a c t | 1 |
| m a p l e | 5 |
| l i c e n s e | 9 |
| d a m a g e | 1 3 |
| m a r g i n | 1 7 |
| m a r i n e | 2 1 |
| p r e v e n t | 2 |
| n e u t r a l | 6 |
| s l e n d e r | 1 0 |
| u n i q u e | 1 4 |
| s p h e r e | 1 8 |
| d r a m a | 2 2 |
| e x a c t | 3 |
| p o t t e r y | 7 |
| j u s t | 1 1 |
| c o n s i d e r | 1 5 |
| d e b a t e | 1 9 |
| d i a l | 2 3 |
| o i l | 4 |
| d e n y | 8 |
| t i m b e r | 1 2 |
| a n g l e | 1 6 |
| e x h i b i t | 2 0 |
| a c t r e s s | 2 4 |
2022-07-29 22:51:34 +00:00
And u s e r c l i c k s o n t h e f o l l o w i n g u i - c o m p o n e n t m a i n W i n d o w _ s u b m i t s e e d P h r a s e V i e w _ S u b m i t _ B u t t o n B u t t o n _ S t a t u s B u t t o n
2022-07-13 08:29:51 +00:00
When 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 124 a n d p a s s w o r d T e s T E r 16843 / ! @ 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
When 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-07-18 08:37:37 +00:00
And 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 t t i n g s
2022-07-13 08:29:51 +00:00
Then t h e 24 s e e d p h r a s e a d d r e s s i s 0 x 28 c f 6770664821 a 51984 d a f 5 b 9 f b 1 b 52e6538 e 4 b d i s p l a y e d i n t h e w a l l e t
Scenario : User signs up with wrong imported seed phrase
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 n a v i g a t e s t o i m p o r t s e e d p h r a s e
When T h e u s e r i n p u t s 24 s e e d p h r a s e s
| p h r a s e s | o c c u r r e n c e |
| a b s t r a c t | 1 |
| m a p l e | 5 |
| g a m e s | 9 |
| d a m a g e | 1 3 |
| m a r g i n | 1 7 |
| d r a m a | 2 1 |
| p r e v e n t | 2 |
| n e u t r a l | 6 |
| t i m b e r | 1 0 |
| u n i q u e | 1 4 |
| s p h e r e | 1 8 |
| o n l y | 2 2 |
| e x a c t | 3 |
| p o t t e r y | 7 |
| j u s t | 1 1 |
| c o n s i d e r | 1 5 |
| a c t r e s s | 1 9 |
| d i a l | 2 3 |
| o i l | 4 |
| d e n y | 8 |
| d i a l | 1 2 |
| t i m b e r | 1 6 |
| e x h i b i t | 2 0 |
| h o u s e | 2 4 |
2022-07-29 22:51:34 +00:00
Then t h e f o l l o w i n g u i - c o m p o n e n t s e e d P h r a s e V i e w _ S u b m i t _ B u t t o n i s n o t e n a b l e d