296 — should complete workflow when user already created account and is in the 1/2 of onboarding¶
Description¶
Verifies that an invitee who has already created and verified an account but stopped at step 1 of 2 of onboarding (personal info) can open an invite link mid-onboarding, accept it, and finish onboarding inside the inviter's organization.
Preconditions¶
- The invitee has registered and verified their email via API but has not finished onboarding.
- The invitee is logged in and currently sitting on the "personal info" (step 1 of 2) onboarding screen.
- The invitation email is in their inbox; the invite link is valid and unused.
Steps¶
- While on the "personal info" onboarding step, confirm it is the active stage. Expected: the personal-info stage text/heading is displayed.
- 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.
- Click "Accept". Expected: the onboarding flow resumes on the personal-info step (stage text is shown again).
- 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 290)