287 — should complete workflow¶
Description¶
Verifies the happy-path invite flow for a brand-new invitee who has no account yet: they accept the emailed invite, create their account, verify their email, finish onboarding, and land inside the inviting organization.
Preconditions¶
- Inviter is signed in to their organization and has sent an invitation email to a fresh MailSlurp inbox.
- The invitee has no existing primatime account.
- The invite link from the email is valid and unused.
Steps¶
- Open the invite link from the email. 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 displayed alongside the invite context.
- Click "Sign up". Expected: the standard sign-up form appears.
- Enter the invitee email and password, agree to the terms, and submit. Expected: the "verify your email" page is shown for the invitee's address, and a verification email is delivered to the inbox.
- Open the verification link from the email. Expected: the onboarding page is displayed.
- Fill in first and last name and click "Finish". Expected: the user is logged in successfully and the active organization is the inviter's organization.
Related¶
- Spec:
playwright/tests/integration/invite.spec.ts(line 114)