Proposed Changes
This adds a new step allowing the user to edit their account email address.
Clicking “Edit email” from wooVerifyEmail
takes you to the editEmail
step.
Success after clicking “Send a verification to my new email” takes the user back to wooVerifyEmail
.
Testing Instructions
** Success testing **
- Go to http://calypso.localhost:3000/setup/wooVerifyEmail?siteSlug=[slug]&flags=signup/woo-verify-email and click “Edit email address”.
- Enter a new, unique email address and click “Send a verification to my new email”.
- You should be taken back to the
wooVerifyEmail
step and should receive a verification email.
** Failure testing **
- Go to http://calypso.localhost:3000/setup/wooVerifyEmail?siteSlug=[slug]&flags=signup/woo-verify-email and click “Edit email address”.
- Enter an email address that’s already in use (like bobo@bob.com) and click “Send a verification to my new email”.
- You should see an error notice as pictured below.
Closes #64163
CleanShot.2022-06-09.at.10.13.13.mp4
** Initial view **
![image](https://user-images.githubusercontent.com/917632/172689319-ab00f85d-c027-4d7d-92a0-5a1ef38603d6.png)
** Error sending verification email **
![CleanShot 2022-06-09 at 10 14 00](https://user-images.githubusercontent.com/917632/172869514-9d091442-01ab-422f-aed9-54a2d3039ee7.jpeg)
Unfortunately, no screenshots were provided by the developer.