Skip to content

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

  1. Open the invite link from the email. Expected: the invitation offer page shows the inviting organization's name.
  2. Click "Accept". Expected: the sign-up landing page is shown with the inviting organization's name displayed alongside the invite context.
  3. Click "Sign up". Expected: the standard sign-up form appears.
  4. 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.
  5. Open the verification link from the email. Expected: the onboarding page is displayed.
  6. 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.
  • Spec: playwright/tests/integration/invite.spec.ts (line 114)