Skip to main content

Account Account Sign Out Displays Name Email And Sign Out Dispatches Event

EPIC: account
Account page
STORY: account_sign_out
As a household member, I can view my display name and email on the Account page and sign out from there.
AC: displays_name_email_and_sign_out_dispatches_event
The Account page shows the member display name and the auth email; tapping sign out dispatches AuthSignOutRequested to AuthBloc and returns to the Welcome page.

open More tab — MorePage is shown

User Actions:
  • Tapped: widget with text "Profile"
Expect:
  • tapping More lands on the More tab
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • MoreCurrentMemberChanged

tap Account entry — AccountPage opens with name + email

User Actions:
  • Tapped: widget with key [<'MorePage.accountEntry'>]
Expect:
  • tapping the Account entry pushes AccountPage
  • the member display name renders on AccountPage
  • the auth email renders on AccountPage
Events:
  • [ANALYTIC] [page]: AccountRoute
  • SelfProfileEditorInitialized

tap sign out — AuthSignOutRequested dispatched, back on Welcome

User Actions:
  • Tapped: widget with key [<'AccountPage.signOutButton'>]
Expect:
  • signing out from AccountPage returns to Welcome
Events:
  • AuthSignOutRequested
  • AuthUserChanged
  • [ANALYTIC] [page]: WelcomeRoute