Skip to main content

Auth Child Signup Success

EPIC: auth
Authentication + Onboarding
STORY: child_signup
As a child, I can sign up with a household code and a username to land in the household pending my parent's consent.
AC: success
Submitting valid code + username + password + display name provisions auth, signs in, and links the child (pendingConsent).

initial state — Welcome page (unauthenticated landing)

Expect:
  • booting signed out lands on the Welcome page
Events:
  • [ANALYTIC] [page]: WelcomeRoute

tap Sign in → sign-in page

User Actions:
  • Tapped: widget with key [<'WelcomePage.signIn'>]
Expect:
  • tapping Sign in on Welcome pushes the sign-in page
Events:
  • [ANALYTIC] [page]: SignInRoute
User Actions:
  • Tapped: widget with key [<'SignInPage.childSignupLink'>]
Expect:
  • tapping the child signup link navigates to ChildSignupPage
  • the child signup title renders
Events:
  • [ANALYTIC] [page]: ChildSignupRoute

enter code, username, password, confirm, display name

User Actions:
  • Entered text: KID-CODE
  • Entered text: robin
  • Entered text: secure1234
  • Entered text: secure1234
  • Entered text: Robin
Expect:
  • submit button is present once all fields are filled
Events:
  • ChildSignupCodeChanged
  • ChildSignupUsernameChanged
  • ChildSignupPasswordChanged
  • ChildSignupConfirmPasswordChanged
  • ChildSignupDisplayNameChanged

tap Submit → provisionChildAuth + signIn + signUpChild called

User Actions:
  • Tapped: widget with key [<'ChildSignup.submit'>]
Events:
  • ChildSignupSubmitted