Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wallet] Go back to VerificationEducation screen without updating the state #5177

Merged
merged 5 commits into from
Sep 24, 2020

Conversation

i1skn
Copy link
Contributor

@i1skn i1skn commented Sep 23, 2020

Description

Add fetching verification state also on going back to VerificationEducation
screen, not only at the first time screen loads.

Other changes

  • Disable "Back" button on Verification screen during onboarding. If user landed there it means account is already created (phrase imported or invite redeemed).

Tested

iOS simulator

Related issues

Backwards compatibility

Yes

Add fetching verification state also on going back to VerificationEducation
screen, not only at the first time screen loads.
Copy link
Contributor

@cmcewen cmcewen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Wondering if we can add some sort of test coverage for all the edge cases you've been working through - I know @gnardini has been working on e2es for verification, but just would be nice to make sure these fixes stay fixed 😄

Copy link
Contributor

@gnardini gnardini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

For the edge cases, I think we could add a unit test for this rather than an e2e one, I see there are some for this screen but none with the hideOnboardingStep flag as true.

e2e tests for the verification flow are going to be very tough to get right and will probably be extremely flaky because of the SMS verification

@i1skn i1skn added the automerge Have PR merge automatically when checks pass label Sep 24, 2020
@mergify mergify bot merged commit 244b26c into master Sep 24, 2020
@mergify mergify bot deleted the i1skn/verification-scree-go-back branch September 24, 2020 19:45
ewilz pushed a commit to ewilz/celo-monorepo that referenced this pull request Sep 29, 2020
… state (celo-org#5177)

### Description

Add fetching verification state also on going back to VerificationEducation
screen, not only at the first time screen loads.

### Other changes

* Disable "Back" button on Verification screen during onboarding. If user landed there it means account is already created (phrase imported or invite redeemed).

### Tested

iOS simulator

### Related issues

- Fixes celo-org#5166

### Backwards compatibility

Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
3 participants