Skip to content

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

  1. Open the invitation link in the browser. Expected: the invite landing page shows the inviter's organization name.
  2. Click "Accept". Expected: the sign-up page is shown, pre-associated with the organization name from the invite.
  3. 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.
  4. Open the email-verification link.
  5. Expected: the user lands on the onboarding page at Step 1 of 1 ("Set personal info") — invited users skip the organization-creation step.
  6. Fill in First Name and Last Name, upload profilePicture.jpeg as the profile avatar. Expected: an "Updated" toast appears.
  7. Click "Finish".
  8. Expected: the page header now shows the uploaded profilePicture.jpeg as the user's avatar.
  9. Expected: the Organization Info shows the original inviter's organization name — confirming the employee has joined the correct organization.
  • Spec: playwright/tests/integration/onboarding.spec.ts (line 272)