360 — should complete workflow¶
Description¶
Verifies the end-to-end onboarding flow for an invited employee: accepting an invitation email, signing up, verifying the email, completing the (single-step) personal-info onboarding, and landing inside the inviter's organization.
Preconditions¶
- An existing organization with an owner who has already completed their own onboarding.
- The owner has invited a new employee by email — the invitation link is available.
- The verification-email link for the new employee is available.
Steps¶
- Open the invitation link in the browser. Expected: the invite landing page shows the inviter's organization name.
- Click "Accept". Expected: the sign-up page is shown, pre-associated with the organization name from the invite.
- Enter the invited employee's email and password, agree with the Terms, and click "Sign up". Expected: the "Verify your email" page is shown for the entered email.
- Open the email-verification link.
- Expected: the user lands on the onboarding page at Step 1 of 1 ("Set personal info") — invited users skip the organization-creation step.
- Fill in First Name and Last Name, upload
profilePicture.jpegas the profile avatar. Expected: an "Updated" toast appears. - Click "Finish".
- Expected: the page header now shows the uploaded
profilePicture.jpegas the user's avatar. - Expected: the Organization Info shows the original inviter's organization name — confirming the employee has joined the correct organization.
Related¶
- Spec:
playwright/tests/integration/onboarding.spec.ts(line 272)