289 — should fail when use already registered email¶
Description¶
Verifies that an invitee who tries to register from the invite link using an email that is already registered in primatime gets a clear "email already registered" error instead of being able to create a duplicate account.
Preconditions¶
- Inviter is signed in and has sent an invitation email to a fresh MailSlurp inbox.
- The inviter's own (already-registered) email address is known and will be entered on the sign-up form.
- The invite link is valid and unused.
Steps¶
- Open the invite link. Expected: the invitation offer page shows the inviting organization's name.
- Click "Accept". Expected: the sign-up landing page is shown with the inviting organization's name.
- Click "Sign up". Expected: the sign-up form is displayed.
- Enter the already-registered email and a password, agree to the terms, and click "Sign up". Expected: an "email is already registered" error message is shown and the account is not created.
Related¶
- Spec:
playwright/tests/integration/invite.spec.ts(line 190)