Skip to main content

Member Profile Member Profile Trait Toggle Failure Reverts And Emits SaveFailure

EPIC: member_profile
Member Profile
STORY: member_profile
As a parent, I can view a member profile with identity, traits, wallet, and personal goals so I can understand and manage each household member.
AC: trait_toggle_failure_reverts_and_emits_saveFailure
When updateMember throws, the optimistic trait toggle is rolled back and the bloc emits saveFailure.
User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'MembersPage.memberTile_alice'>]
Expect:
  • MemberProfilePage is visible
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: MemberProfileRoute
  • MemberProfileStarted

tap suggestion chip → updateMember throws → trait reverts

User Actions:
  • Tapped: widget with key [<'MemberProfilePage.traitSuggestion_Needs visual steps'>]
Expect:
  • trait chip is absent after rollback
  • suggestion chip reappears after rollback
Events:
  • MemberProfileTraitToggled