User Authentication
notes
Login with valid credentials
Should redirect to dashboard after successful login
Login with invalid password
Should show error message "Invalid credentials"
Login with non-existent email
Should show "User not found" error
Forgot password flow
Email should be sent within 30 seconds
Session timeout after 30 minutes
User should be redirected to login
Shopping Cart
notes
Add item to cart
Cart badge should update immediately
Remove item from cart
Total should recalculate
Update item quantity
Price should update in real-time
Apply discount code DEMO20
20% discount should apply
Apply invalid discount code
Should show "Invalid code" error
Cart persistence after page refresh
Items should remain in cart
Checkout Process
notes
Enter shipping address
All required fields must be filled
Address validation
Should validate ZIP code format
Select payment method - Credit Card
Should show card form
Select payment method - PayPal
Should redirect to PayPal
Complete purchase
Confirmation email should be sent
Order confirmation page
Should display order number and summary