294 — should complete workflow¶
Description¶
Verifies the invite flow when the invitee is already logged into their own account: opening the invite link presents an offer pre-filled with their email, and accepting it adds them to the inviter's organization without any additional sign-in step.
Preconditions¶
- The invitee has an existing account with their own organization and is currently logged in.
- The inviter has sent an invitation email to the invitee's address; the invite link is valid and unused.
Steps¶
- Open the invite link in the same browser session. Expected: the invitation offer page shows the inviting organization's name with the invitee's email pre-filled in the offer.
- Click "Accept". Expected: the "welcome to the organization" confirmation is shown for the inviting organization.
Related¶
- Spec:
playwright/tests/integration/invite.spec.ts(line 266)