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 |
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
2022-08-03 17:31:59 +00:00
Scenario Outline : User signs up with imported seed phrase
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 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
2022-08-03 17:31:59 +00:00
When T h e u s e r i n p u t s t h e s e e d p h r a s e <seed>
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-08-03 17:31:59 +00:00
Then t h e a d d r e s s <address> i s d i s p l a y e d i n t h e w a l l e t
2022-07-13 08:29:51 +00:00
2022-08-03 17:31:59 +00:00
Examples :
| s e e d | a d d r e s s |
| t r u t h g o l d u r b a n v i t a l r o s e m a r k e t l e g a l r e l e a s e b o r d e r g o s p e l l e a v e f a m e | 0 x 8 6 7 2 E 2 f 1 a 7 b 2 8 c d a 8 b c a B b 5 3 B 5 2 c 6 8 6 c c B 7 7 3 5 c 3 |
| l e m o n c a r d e a s y g o o s e k e e n d i v i d e c a b b a g e d a u g h t e r g l i d e g l a d s e n s e d i c e p r o m o t e p r e s e n t a u g u s t o b e y s t a y c h e e s e | 0 x d d 0 6 a 0 8 d 4 6 9 d d 6 1 C b 2 E 5 E C E 3 0 f 5 D 1 6 0 1 9 e B e 0 f c 9 |
| p r o v i d e b e t w e e n t a r g e t m a z e t r a v e l e n r o l l e d g e c h u r n r a n d o m s i g h t g r a s s l i o n d i e t s u g a r c a b l e f i c t i o n r e f l e c t r e a s o n g a z e c a m p t o n e m a x i m u m t a s k u n l o c k | 0 x C b 5 9 0 3 1 d 1 1 D 2 3 3 1 1 2 C B 5 7 D F d 6 6 7 f E 1 F F 6 C d 7 b 6 D a |
2022-07-13 08:29:51 +00:00
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
2022-08-03 17:31:59 +00:00
When T h e u s e r i n p u t s t h e s e e d p h r a s e t r u t h g o l d u r b a n v i t a l r o s e m a r k e t l e g a l r e l e a s e b o r d e r g o s p e l l e a v e p o t a t o
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-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
2022-08-03 17:31:59 +00:00
And t h e i n v a l i d s e e d t e x t i s v i s i b l e