fix(register): replace check-your-email success state with inline message #2

Merged
cartsnitch-engineer[bot] merged 2 commits from fix/register-account-created-message into dev 2026-05-04 19:07:57 +00:00

2 Commits

Author SHA1 Message Date
Chris Farhood af6278193b fix(e2e): update registration test to match new inline success message
Renames 'can register a new account and see check your email screen' to
'shows success message after registration' and asserts .bg-red-50 contains
'Account created! Please sign in.' instead of checking for a heading.

Updates 'can sign in with credentials' test to first register a fresh account
and assert the success message, then proceed with login.

Refs: CAR-822, PR cartsnitch/cartsnitch#181
2026-05-04 18:51:02 +00:00
Chris Farhood 1f485e4786 fix(register): replace check-your-email success state with inline message
Ports PR #181 intent from cartsnitch/cartsnitch to cartsnitch/app.
Removes registrationComplete, resendLoading, resendMessage state and the
handleResendVerification function. After successful signUp.email, now
sets setError('Account created! Please sign in.') instead of showing
the separate "Check your email" page.

Refs: CAR-822, CAR-818
2026-05-04 17:53:56 +00:00