Skip to main content

Password Mismatch

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: password_mismatch
Mismatched passwords show an inline error, no submit.

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

enter mismatched passwords

User Actions:
  • Entered text: parent@example.com
  • Entered text: hunter2
  • Entered text: nope
Expect:
  • the confirm field shows the inline mismatch error
Events:
  • SignUpEmailChanged
  • SignUpPasswordChanged
  • SignUpConfirmPasswordChanged

tap "Create account" → stays on sign-up, no repo call

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