Skip to main content

Sign In Error

EPIC: auth
Authentication
STORY: sign_in
As a household member, I can sign in and land on Home with my household and its members.
AC: failure
A failed sign-in stays on the sign-in page with an error.
scenario: sign_in_error
The auth repository throws on sign-in.

initial state — Welcome page (unauthenticated landing)

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

tap Sign in → the 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

enter credentials

User Actions:
  • Entered text: parent@example.com
  • Entered text: hunter2

tap sign in → error surfaces, still on sign-in

User Actions:
  • Tapped: widget with key [<'SignInPage.signInButton'>]
Expect:
  • a failed sign-in stays on the sign-in page
  • the error message is shown
Events:
  • AuthSignInRequested