Skip to content

Commit

Permalink
TW-1539 Remove onboarding scenarios from e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keshan3262 committed Sep 11, 2024
1 parent 65730e4 commit b5ca469
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 120 deletions.
46 changes: 1 addition & 45 deletions e2e/src/features/create-new-wallet.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Feature: Create a new wallet
And I enter defaultPassword into Password Field on the Register Form page
And I enter defaultPassword into Repeat Password Field on the Register Form page
And I press Analytics Check Box on the Register Form page
And I press Skip Onboarding Checkbox on the Register Form page
And I press Accept Terms Checkbox on the Register Form page
And I press Create Button on the Register Form page

Expand All @@ -32,49 +31,6 @@ Feature: Create a new wallet
Then I am on the Home page


@create_new_wallet
Scenario: As a user, I'd like to create a wallet and pass on-boarding
Given I am on the Welcome page
And I press Create New Wallet button on the Welcome page

And I am on the NewSeedBackup page
And I press Protected Mask on the New Seed Back-up page
And I save my mnemonic
And I press I made Seed Phrase Backup Check Box on the New Seed Back-up page
And I press Next Button on the New Seed Back-up page

And I am on the VerifyMnemonic page
And I verify my mnemonic
And I press Next Button on the New Seed Verify page

And I am on the SetWallet page
And I enter defaultPassword into Password Field on the Register Form page
And I enter defaultPassword into Repeat Password Field on the Register Form page
And I press Analytics Check Box on the Register Form page
And I press Accept Terms Checkbox on the Register Form page
And I press Create Button on the Register Form page
# On-boarding passing
And I am on the OnboardingFirstStep page
And I press Next Button on the Onboarding (First Step) page

And I am on the OnboardingSecondStep page
And I press Next Button on the Onboarding (Second Step) page

And I am on the OnboardingThirdStep page
And I press Next Button on the Onboarding (Third Step) page

And I am on the OnboardingFourthStep page
And I press Done Button on the Onboarding (Fourth Step) page

And I am on the OnboardingCongrats page
And I press Start Button on the Onboarding (Congrats) page

And I am on the OnRumpModal page
And I press Close Button on the On-ramp Modal page

And I am on the NewsletterModal page
And I press Close Button on the Newsletter Modal page

Then I am on the Home page
# TODO: add a scenario for passing an onboarding


75 changes: 1 addition & 74 deletions e2e/src/features/import-existing-wallet.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Feature: Import existing wallet
And I am on the SetWallet page
And I enter defaultPassword into Password Field on the Register Form page
And I enter defaultPassword into Repeat Password Field on the Register Form page
And I press Skip Onboarding Checkbox on the Register Form page
And I press Analytics Check Box on the Register Form page
And I press Accept Terms Checkbox on the Register Form page
And I press Import Button on the Register Form page
Expand All @@ -24,78 +23,6 @@ Feature: Import existing wallet



Scenario: As a user, I'd like to import wallet and pass on-boarding [Positive]
Given I am on the Welcome page
And I press Import Existing Wallet button on the Welcome page

And I am on the ImportExistingWallet page
And I enter defaultSeedPhrase mnemonic on the ImportExistingWallet page
And I press Next button on the Import Existing Seed Phrase page

And I am on the SetWallet page
And I enter defaultPassword into Password Field on the Register Form page
And I enter defaultPassword into Repeat Password Field on the Register Form page
And I press Analytics Check Box on the Register Form page
And I press Accept Terms Checkbox on the Register Form page
And I press Import Button on the Register Form page

# On-boarding passing
And I am on the OnboardingFirstStep page
And I press Next Button on the Onboarding (First Step) page

And I am on the OnboardingSecondStep page
And I press Next Button on the Onboarding (Second Step) page

And I am on the OnboardingThirdStep page
And I press Next Button on the Onboarding (Third Step) page

And I am on the OnboardingFourthStep page
And I press Done Button on the Onboarding (Fourth Step) page

And I am on the OnboardingCongrats page
And I press Start Button on the Onboarding (Congrats) page

And I am on the NewsletterModal page
And I press Close Button on the Newsletter Modal page

Then I am on the Home page


Scenario: As a user, I'd like to switch between onboarding pages and skip it [Negative]
Given I am on the Welcome page
And I press Import Existing Wallet button on the Welcome page

And I am on the ImportExistingWallet page
And I enter defaultSeedPhrase mnemonic on the ImportExistingWallet page
And I press Next button on the Import Existing Seed Phrase page

And I am on the SetWallet page
And I enter defaultPassword into Password Field on the Register Form page
And I enter defaultPassword into Repeat Password Field on the Register Form page
And I press Analytics Check Box on the Register Form page
And I press Accept Terms Checkbox on the Register Form page
And I press Import Button on the Register Form page

# On-boarding passing
And I am on the OnboardingFirstStep page
And I press Next Button on the Onboarding (First Step) page

And I am on the OnboardingSecondStep page
And I press Next Button on the Onboarding (Second Step) page

And I am on the OnboardingThirdStep page
And I press Next Button on the Onboarding (Third Step) page

And I am on the OnboardingFourthStep page
# Returning to the previous page
And I press Back Button on the Page Layout page

And I am on the OnboardingThirdStep page
And I press Skip Button on the Page Layout page

And I am on the NewsletterModal page
And I press Close Button on the Newsletter Modal page

Then I am on the Home page
# TODO: add scenarios for passing onboarding


1 change: 0 additions & 1 deletion e2e/src/features/unlock-screen.feature
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ Feature: Unlock Screen
And I got the 'Attention!' warning with Alert title Text element on the Alert page
And I enter defaultPassword into Password Field on the Register Form page
And I enter defaultPassword into Repeat Password Field on the Register Form page
And I press Skip Onboarding Checkbox on the Register Form page
And I press Analytics Check Box on the Register Form page
And I press Accept Terms Checkbox on the Register Form page
And I press Import Button on the Register Form page
Expand Down

0 comments on commit b5ca469

Please sign in to comment.