Skip to main content

Sign Up Error

EPIC: auth
Authentication
STORY: sign_up
As a new household organiser, I can create an account and land on Home.
AC: failure
A failed sign-up stays on the sign-up page with an error.
scenario: sign_up_error
The auth repository throws on sign-up.

initial state — Welcome page (unauthenticated landing)

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

tap "Create your household" on Welcome → the sign-up page

User Actions:
  • Tapped: widget with key [<'WelcomePage.create'>]
Expect:
  • the Create CTA on Welcome opens the sign-up page
  • the sign-up title renders
  • the band glow word renders
Events:
  • [ANALYTIC] [page]: SignUpRoute

fill a valid, matching form

User Actions:
  • Entered text: taken@example.com
  • Entered text: hunter2
  • Entered text: hunter2
Events:
  • SignUpEmailChanged
  • SignUpPasswordChanged
  • SignUpConfirmPasswordChanged

tap "Create account" → error surfaces, still on sign-up

User Actions:
  • Tapped: widget with key [<'SignUpPage.createButton'>]
Expect:
  • a failed sign-up stays on the sign-up page
  • the repository error message is shown
Events:
  • SignUpSubmitted