Skip to content

291 — should use used link

Description

Verifies that once an invite link has already been used (the invitee registered and joined via API), reopening the same link in the browser shows a "link not found" message — invites cannot be redeemed twice.

Preconditions

  • Inviter is signed in and has sent an invitation email.
  • The invitee has already used the invite code to register and verify their account via the API (link is now consumed).

Steps

  1. Open the same invite link in the browser. Expected: the page displays a "link not found" / used-invite message; the organization offer is not shown.
  • Spec: playwright/tests/integration/invite.spec.ts (line 209)