Skip to main content

More Join With Code Join With Code Wrong Email Shows Specific Copy

EPIC: more
More Tab
STORY: join_with_code
As a signed-in invited user, I can join a household with a code from More; on success it becomes my active household.
AC: join_with_code_wrong_email_shows_specific_copy
An email-mismatch rejection shows reason-specific copy in the join sheet, not a generic "invalid code"; the user stays put.

open the More tab

User Actions:
  • Tapped: widget with text "Profile"
Expect:
  • the More hub offers a Join-with-code entry
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • MoreCurrentMemberChanged

open the join sheet

User Actions:
  • Tapped: widget with key [<'MorePage.joinWithCodeEntry'>]
Expect:
  • the code field is present

submit a code the accept rejects as email-mismatch

User Actions:
  • Entered text: JOIN-123
  • Tapped: widget with key [<'JoinWithCode.submit'>]
Expect:
  • the typed rejection surfaces an inline error
  • the email-mismatch copy is shown
  • the user stays in the sheet to retry
Events:
  • JoinHouseholdCubit
  • JoinHouseholdCubit