#****************************************************************************** # Status.im #*****************************************************************************/ #/** # * \file test.feature # * # * \test Status Sign up # * \date May 2022 # ** # *****************************************************************************/ Feature: Status Desktop Sign Up As a user I want to Sign-up into the Status Desktop application. The following scenarios cover Sign up process. Scenario: User signs up and signs in with password Given A first time user lands on the status desktop and generates new key When user signs up with username tester123 and password TesTEr16843/!@00 Then the user lands on the signed in app @merge Scenario Outline: User cannot sign up with wrong username format Given A first time user lands on the status desktop and generates new key When user inputs the following with ui-component onboarding_DiplayName_Input Then the following ui-component onboarding_DetailsView_NextButton is not enabled Examples: | username | | Athl | | Gra | | tester3@ | @merge Scenario Outline: User cannot sign up with wrong password format in both new password and confirmation input Given A first time user lands on the status desktop and generates new key When the user inputs username When user inputs the following with ui-component onboarding_newPsw_Input And user inputs the following with ui-component onboarding_confirmPsw_Input Then the following ui-component onboarding_create_password_button is not enabled Examples: | username | wrongpassword | | tester123 | Invalid34 | | tester124 | badP | | tester124 | bad2!s | @merge Scenario Outline: User cannot sign up with right password format in new password input but incorrect in confirmation password input Given A first time user lands on the status desktop and generates new key When the user inputs username When user inputs the following with ui-component onboarding_newPsw_Input And user inputs the following with ui-component onboarding_confirmPsw_Input Then the following ui-component onboarding_create_password_button is not enabled Examples: | username | wrongpassword | password | | tester123 | Invalid34 | TesTEr16843/!@00 | | tester124 | badP | TesTEr16843/!@01 | | tester124 | bad2!s | TesTEr16843/!@01 | @merge Scenario Outline: User cannot sign up with incorrect confirmation-again password Given A first time user lands on the status desktop and generates new key When the user inputs username When user inputs the following with ui-component onboarding_newPsw_Input And user inputs the following with ui-component onboarding_confirmPsw_Input And user clicks on the following ui-component onboarding_create_password_button And user inputs the following with ui-component onboarding_confirmPswAgain_Input Then the following ui-component onboarding_finalise_password_button is not enabled Examples: | username | wrongpassword | password | | tester123 | Invalid34 | TesTEr16843/!@00 | | tester123 | TesTEr16843/!@) | TesTEr16843/!@01 | @merge Scenario Outline: User cannot finish Sign Up and Sign In process with wrong password format in both new password and confirmation input Given A first time user lands on the status desktop and generates new key When the user inputs username When user inputs the following with ui-component onboarding_newPsw_Input And user inputs the following with ui-component onboarding_confirmPsw_Input Then the following ui-component onboarding_create_password_button is not enabled Examples: | username | wrongpassword | | tester123 | Invalid34 | @merge 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 first time user lands on the status desktop and generates new key When the user inputs username When user inputs the following with ui-component onboarding_newPsw_Input And user inputs the following with ui-component onboarding_confirmPsw_Input Then the following ui-component onboarding_create_password_button is not enabled Examples: | username | wrongpassword | password | | tester123 | Invalid34 | TesTEr16843/!@00 | | tester123 | TesTEr16843/!@) | TesTEr16843/!@01 | @merge Scenario Outline: User cannot finish Sign Up and Sign In process with incorrect confirmation-again password Given A first time user lands on the status desktop and generates new key When the user inputs username When user inputs the following with ui-component onboarding_newPsw_Input And user inputs the following with ui-component onboarding_confirmPsw_Input And user clicks on the following ui-component onboarding_create_password_button And user inputs the following with ui-component onboarding_confirmPswAgain_Input Then the following ui-component onboarding_finalise_password_button is not enabled Examples: | username | wrongpassword | password | | tester123 | Invalid34 | TesTEr16843/!@00 | | tester123 | TesTEr16843/!@) | TesTEr16843/!@01 | Scenario Outline: User signs up with imported seed phrase Given A first time user lands on the status desktop and navigates to import seed phrase When The user inputs the seed phrase And user clicks on the following ui-component seedPhraseView_Submit_Button When user signs up with username tester123 and password TesTEr16843/!@00 Then the user lands on the signed in app Examples: | seed | address | | truth gold urban vital rose market legal release border gospel leave fame | 0x8672E2f1a7b28cda8bcaBb53B52c686ccB7735c3 | | lemon card easy goose keen divide cabbage daughter glide glad sense dice promote present august obey stay cheese | 0xdd06a08d469dd61Cb2E5ECE30f5D16019eBe0fc9 | | provide between target maze travel enroll edge churn random sight grass lion diet sugar cable fiction reflect reason gaze camp tone maximum task unlock | 0xCb59031d11D233112CB57DFd667fE1FF6Cd7b6Da | @merge Scenario: User signs up with wrong imported seed phrase Given A first time user lands on the status desktop and navigates to import seed phrase When The user inputs the seed phrase truth gold urban vital rose market legal release border gospel leave potato And user clicks on the following ui-component seedPhraseView_Submit_Button Then the following ui-component seedPhraseView_Submit_Button is not enabled And the invalid seed text is visible @merge Scenario: After Signing up the Profile state should be online Given A first time user lands on the status desktop and generates new key When user signs up with username tester123 and password TesTEr16843/!@00 Then the user is online @merge Scenario: User signs up with a profile image Given A first time user lands on the status desktop and generates new key When the user signs up with profileImage doggo.jpeg, username tester123 and password TesTEr16843/!@00 Then my profile modal has the updated profile image And the profile setting has the updated profile image When the user restarts the app And a screenshot of the profileImage is taken And the user logs in with password TesTEr16843/!@00 Then the profile navigation bar has the updated profile image