Skip to content

290 — should use invalid link

Description

Verifies that opening an invite URL whose invite code is not recognized by the backend shows a "link not found" message instead of letting the user proceed to sign up.

Preconditions

  • No user is signed in.
  • A made-up invite query parameter (e.g. ?invite=wEkcXgcZWQZkSHG4) is appended to the app URL — this code does not correspond to any real invite.

Steps

  1. Open the app URL with the fabricated invite query parameter. Expected: the page displays a "link not found" / invalid-invite message and no organization offer is shown.
  • Spec: playwright/tests/integration/invite.spec.ts (line 204)