Skip to main content

Household Members Set Date Of Birth Shows Derived Age

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: set_date_of_birth_shows_derived_age
Picking a date of birth in the editor shows the derived age and saving calls updateMember carrying the birthDate.
User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'MembersPage.memberTile_alice'>]
  • Tapped: widget with key [<'MemberProfilePage.editButton'>]
Expect:
  • date-of-birth picker field is visible
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: MemberProfileRoute
  • MemberProfileStarted
  • MemberEditorOpened
  • MemberEditorDataLoaded

pick a DOB (confirm picker) - derived age is shown

User Actions:
  • Tapped: widget with key [<'MemberEditorSheet.dobField'>]
  • Tapped: widget with text "OK"
Expect:
  • derived age is displayed once a DOB is set
  • manual age field hides once a DOB is set
Events:
  • MemberEditorBirthDateChanged

save - updateMember carries the picked birthDate

User Actions:
  • Tapped: widget with key [<'MemberEditorSheet.saveButton'>]
Expect:
  • updateMember carries the picked birthDate
  • the confirmed initial date is 8 years ago
Events:
  • MemberEditorSaved
  • [ANALYTIC] [page_popped]: MemberProfileRoute