You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #240 ("feat: show copyable invite link in pending invites list (#239)") replaced the "Invite sent." success message in the invite form with an inline invite link display. The E2E test members.spec.ts > owner can invite a user by email expects text=Invite sent. to be visible after submitting an invite, but that text no longer exists in the component.
This causes the members test to fail, which also blocks 6 dependent serial tests in the same describe block.
Two other E2E failures were observed but are not related to this PR:
search.spec.ts > search with no matches shows empty state — pre-existing empty state text mismatch
workspace-settings.spec.ts > personal workspace shows 'cannot be deleted' message — test environment issue (resolveTestUserId fails because Supabase admin listUsers doesn't find the test user)
Acceptance Criteria
Update e2e/members.spec.ts to match the new invite form behavior (invite link shown instead of "Invite sent." text)
All 7 serial members tests pass against production
Affected file: e2e/members.spec.ts lines 110 and 159
The invite form (src/components/members/invite-form.tsx) now shows a copyable invite URL after successful submission instead of the "Invite sent." toast/text
The test should assert on the new invite link element or updated success indicator
The "Invite sent." text also appears in the re-invite test at line 159 — both assertions need updating
Description
PR #240 ("feat: show copyable invite link in pending invites list (#239)") replaced the
"Invite sent."success message in the invite form with an inline invite link display. The E2E testmembers.spec.ts > owner can invite a user by emailexpectstext=Invite sent.to be visible after submitting an invite, but that text no longer exists in the component.This causes the members test to fail, which also blocks 6 dependent serial tests in the same describe block.
Two other E2E failures were observed but are not related to this PR:
search.spec.ts > search with no matches shows empty state— pre-existing empty state text mismatchworkspace-settings.spec.ts > personal workspace shows 'cannot be deleted' message— test environment issue (resolveTestUserIdfails because Supabase adminlistUsersdoesn't find the test user)Acceptance Criteria
e2e/members.spec.tsto match the new invite form behavior (invite link shown instead of "Invite sent." text)pnpm lint && pnpm typecheck && pnpm testpassTechnical Notes
e2e/members.spec.tslines 110 and 159src/components/members/invite-form.tsx) now shows a copyable invite URL after successful submission instead of the "Invite sent." toast/text"Invite sent."text also appears in the re-invite test at line 159 — both assertions need updating