407 — should change email¶
Description¶
Verifies the full email-change flow: changing the email shows a confirmation dialog, puts the account into a pending state, and the verification link emailed to the new address completes the swap.
Preconditions¶
- A fresh user is signed in with the seeded
mainProfiledata. - A new MailSlurp inbox has been created to receive the verification email.
- The Account Settings → Personal Info page is open.
Steps¶
- Replace the Email field with the new MailSlurp address and click Save. Expected: an "Update email address?" dialog appears asking to confirm the change from the old to the new address.
- Click Yes to confirm. Expected: a "Saved" confirmation toast appears, and a pending banner reads "Pending for verification for email
." with the prompt "Haven't received the verification email?". - Open the MailSlurp inbox and extract the verification link from the most recent message. Expected: a non-null verification link is found.
- Navigate to the verification link. Expected: the app shows a successful-login confirmation.
- Open Account Settings → Personal Info again. Expected: the Email field shows the new MailSlurp address, and the "Pending for verification" banner is gone.
Related¶
- Spec:
playwright/tests/integration/personal.info.spec.ts(line 212)