Skip to content

293 — should complete workflow with organization image

Description

Same as scenario 292 (signed-out invitee who already has an account accepts the invite and logs in) but the inviting organization has uploaded a logo, so this scenario also verifies the logo is shown on the invite, sign-up, and login screens.

Preconditions

  • Inviting organization has uploaded a logo (profilePicture.jpeg).
  • The invitee already has an account with their own organization and is currently signed out.
  • The invitation email is in the invitee's inbox; the invite link is valid and unused.

Steps

  1. Open the invite link. Expected: the organization's logo is rendered on the invite page and matches the original uploaded image; the invitation offer shows the inviting organization's name.
  2. Click "Accept". Expected: the invite sign-up landing page shows the organization name and the same logo.
  3. Click "Log in" on the invite page. Expected: the login form is shown with the organization's logo still visible alongside the invite context (organization name).
  4. Enter the invitee's email and password and submit. Expected: the "welcome to the organization" confirmation is shown for the inviting organization.
  • Spec: playwright/tests/integration/invite.spec.ts (line 238)