Authentication
Login, registration, password reset, email verification
Testing Tip
Start with Critical tests first, then work through Happy Path scenarios before edge cases.
User Registration (Email)
CRITICALHappy PathVerify that new users can successfully create an account using email registration. This is a critical flow as it is the entry point for all new customers and store owners into the platform.
User Login
CRITICALHappy PathVerify that existing users can log in with valid credentials. This is a critical flow that gates access to all authenticated features of the platform. Successful login returns JWT tokens for authentication.
Google Sign-In
HIGHHappy PathVerify that users can sign in or register using their Google account. This flow handles both new user creation and existing user login via OAuth.
Password Reset
HIGHHappy PathVerify the complete password reset flow: requesting a reset link, receiving the email, and setting a new password. This is essential for account recovery.
Email Verification
HIGHHappy PathVerify that users can confirm their email address using the verification link sent during registration. Email verification is required before users can create a store.
Session Management
HIGHHappy PathVerify JWT token-based session management including token refresh and logout functionality. Tests the complete session lifecycle.
Invalid Login Credentials
HIGHError HandlingVerify that the system properly rejects login attempts with incorrect credentials and provides appropriate feedback without revealing which field is wrong (security best practice).
Duplicate Email Registration
MEDIUMError HandlingVerify that the system prevents creating multiple accounts with the same email address.
Expired Token Handling
MEDIUMEdge CaseVerify that expired verification/reset tokens are properly rejected with a helpful message guiding users to request a new one.
Resend Verification Email
MEDIUMHappy PathVerify that users can request a new verification email if the original was not received or expired.
Protected Route Access Without Authentication
HIGHEdge CaseVerify that unauthenticated users cannot access protected routes and are redirected to login.