Skip to main content

Household Members Helper Account Switch Toggle Round Trips

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: helper_account_switch_toggle_round_trips
Editing a LINKED helper shows the "Allow account switching" toggle; toggling it on and saving calls updateMember with canSwitchAccounts = true.

open Gran (linked helper) profile then the editor

User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'MembersPage.memberTile_gran'>]
  • Tapped: widget with key [<'MemberProfilePage.editButton'>]
Expect:
  • the account-switch toggle shows for a linked helper
  • the toggle carries its label
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: MemberProfileRoute
  • MemberProfileStarted
  • MemberEditorOpened
  • MemberEditorDataLoaded

toggle account switching on and save

User Actions:
  • Tapped: widget with key [<'MemberEditorSheet.canSwitchSwitch'>]
  • Tapped: widget with key [<'MemberEditorSheet.saveButton'>]
Expect:
  • updateMember carries canSwitchAccounts = true
Events:
  • MemberEditorCanSwitchToggled
  • MemberEditorSaved
  • [ANALYTIC] [page_popped]: MemberProfileRoute