Skip to main content

Household Family Goals Family Goal Fund And Undo

EPIC: household
Household
STORY: family_goals
As a household member, I see our shared Family Goals with progress on the Household tab; parental members add and manage them, other members suggest them for approval.
AC: family_goal_fund_and_undo
A member with wallet balance can fund an active family goal (G-1 / S4). Tapping Fund opens a sheet; submitting calls fundGoal; the snackbar appears with an Undo action; tapping Undo calls withdrawFromGoal (the compensating inverse).

open Household tab — Fund button visible on active goal

User Actions:
  • Tapped: widget with text "Household"
Expect:
  • Fund button visible on active family goal
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted

tap Fund — sheet opens; enter 5 and submit

User Actions:
  • Tapped: widget with key [<'HouseholdPage.fundFamilyGoal_goal-trip'>]
  • Entered text: 5
  • Tapped: widget with key [<'GoalFundSheet.submit'>]
Expect:
  • funded snackbar appears
  • Undo action present in snackbar
Events:
  • FamilyGoalFunded

tap Undo — withdrawFromGoal is called

User Actions:
  • Tapped: widget with text "Undo"
Expect:
  • Undone snackbar confirms the reversal
Events:
  • FamilyGoalFundUndone