Skip to content

bug: E2E regression after PR #240 — members invite test expects removed "Invite sent." text #241

@zacharias-ona

Description

@zacharias-ona

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 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
  • pnpm lint && pnpm typecheck && pnpm test pass

Technical Notes

  • PR that introduced the regression: feat: show copyable invite link in pending invites list (#239) #240
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions