Skip to main content

My Cosmos My Cosmos Success

EPIC: my_cosmos
My Cosmos companion
STORY: my_cosmos
A member creates, grows, and customizes their celestial companion.
AC: success
A member creates their companion from the Today prompt, watches it grow a stage, re-chooses its form, and buys an adornment.

the Meet Your Companion card appears on the Today tab

Expect:
  • the card renders when loadForCurrentMember returns the not-created sentinel (isCreated == false)
  • the card title is visible
  • the Create button is present

tapping Create opens the create-companion sheet

User Actions:
  • Tapped: widget with key [<'MeetCompanionCard.create'>]
Expect:
  • the create-companion sheet title is visible
  • the Save button is present in the sheet

tapping Save calls create and the prompt card hides once isCreated flips to true

User Actions:
  • Tapped: widget with key [<'CreateCompanionSheet.save'>]
Expect:
  • the prompt card is gone once isCreated flips to true
Events:
  • ActiveIdentity_Cubit

after growth the creature scene reflects a higher stage; tapping it opens the sheet showing stage, stardust balance, and the tray

User Actions:
  • Tapped: widget with key [<'ShellAppBar.avatar'>]
Expect:
  • tapping the creature opens the tap-to-focus companion sheet (old companion_test: tap opens sheet)
  • the sheet shows the grown stage label (old companion_test: sheet shows stage)
  • the sheet shows the stardust balance (old companion_test: sheet shows balance) — 15 avoids collision with the adornment costs (5/8/12/20) rendered in the same tray
  • the adornments tray renders the catalog (old companion_test: sheet shows adornments tray)

open More → My Cosmos and re-choose the companion form → setType

User Actions:
  • Tapped at: (x: 10.0, y: 10.0)
  • Tapped: widget with text "Nova"
  • Tapped: widget with key [<'MorePage.companionEntry'>]
  • Tapped: widget with text "Moon"
Expect:
  • the full My Cosmos settings page is open
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • AccountSwitcherCubit
  • MoreCurrentMemberChanged
  • [ANALYTIC] [page]: MyCosmosRoute

tap an unowned adornment chip on My Cosmos → purchaseAdornment

User Actions:
  • Tapped: widget with text "Ring" (ignoring all but last)