Skip to main content

More Join With Code Join With Code Joins And Switches

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_joins_and_switches
Entering a valid code in the More join sheet accepts the invite (email-bound) and switches into the joined household.

open the More tab — the Join-with-code entry is present

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

tap Join-with-code — the confirmation-first sheet opens

User Actions:
  • Tapped: widget with key [<'MorePage.joinWithCodeEntry'>]
Expect:
  • the active-household-switch confirmation is shown first
  • the code field is present

enter a valid code and join → switches into the household

User Actions:
  • Entered text: JOIN-123
  • Tapped: widget with key [<'JoinWithCode.submit'>]
Expect:
  • joining switches into the household (lands on Home)
  • the join sheet closed on success
  • a confirmation is shown after joining
Events:
  • JoinHouseholdCubit
  • JoinHouseholdCubit
  • [ANALYTIC] [page]: HomeTabRoute