Skip to main content

Household Members Invite Existing Adult To Account Shows Code

EPIC: household
Household
STORY: members
As a parent, I can view and edit household members so that I can manage home-room assignments and watch-only status.
AC: invite_existing_adult_to_account_shows_code
Editing an adult, unlinked member shows "Invite to account"; entering an email and sending calls inviteMember and surfaces the returned invite token as a copyable share-code.

open James (adult, unlinked) profile then the editor

User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'MembersPage.memberTile_james'>]
  • Tapped: widget with key [<'MemberProfilePage.editButton'>]
Expect:
  • the invite-to-account affordance shows for an adult unlinked member
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: MemberProfileRoute
  • MemberProfileStarted
  • MemberEditorOpened
  • MemberEditorDataLoaded

open the invite form, enter an email, send → code shown

User Actions:
  • Tapped: widget with key [<'MemberEditorSheet.inviteToAccountButton'>]
  • Entered text: [email protected]
  • Tapped: widget with key [<'AccountInviteSheet.sendButton'>]
Expect:
  • the returned invite token is shown as a share-code
  • the code value is the token from inviteMember
Events:
  • MemberAccountInviteSent