Skip to content

408 — should resend email

Description

Verifies that during a pending email change the "Resend the link" action sends a fresh verification email with a new, different token.

Preconditions

  • A fresh user is signed in with the seeded mainProfile data.
  • A new MailSlurp inbox has been created and the email-change flow has already been started against it (Save → Yes), so the account is in the pending state.
  • The Account Settings → Personal Info page is open.

Steps

  1. Read the pending banner. Expected: it shows "Pending for verification for email ." and a "Saved" toast was visible after the initial save.
  2. Capture the first verification link from the MailSlurp inbox and record the current message count.
  3. Click "Resend the link". Expected: a success confirmation toast appears, and a new email arrives in the MailSlurp inbox (message count increases).
  4. Read the second verification link. Expected: the second link is non-null and is different from the first link.
  • Spec: playwright/tests/integration/personal.info.spec.ts (line 229)