Skip to main content

Child Signup Code Child Attach Code Child Attach Code From Member Editor

EPIC: child_signup_code
Child self-signup
STORY: child_attach_code
As a parent, from a child's profile editor I can generate a one-time sign-up code and see it once so I can share it.
AC: child_attach_code_from_member_editor
Generating a sign-up code calls issueChildAttachCode with the acting parent + the child id and surfaces the raw code once.

open the Household tab and tap the child tile

User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'MembersPage.memberTile_kit'>]
Expect:
  • the profile edit affordance is present
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: MemberProfileRoute
  • MemberProfileStarted

open the editor — the Generate sign-up code action shows

User Actions:
  • Tapped: widget with key [<'MemberProfilePage.editButton'>]
Expect:
  • an unlinked child editor offers the sign-up code action
Events:
  • MemberEditorOpened
  • MemberEditorDataLoaded

open the code sheet and Generate → the raw code shows

User Actions:
  • Tapped: widget with key [<'MemberEditorSheet.childSignupCodeButton'>]
  • Tapped: widget with key [<'ChildSignupCodeSheet.generateButton'>]
Expect:
  • the sign-up code card is surfaced after generation
  • the raw sign-up code is surfaced once
Events:
  • MemberChildCodeIssued