Login with Customer Apply Valid Coupon Code
HighBaselinedRegression
Description
Verify that a valid coupon code applies discount correctly during checkout.
Pre-Conditions
1. Customer is logged in 2. Valid coupon code "SAVE20" exists (20% off) 3. Cart has eligible products
Test Steps
| Step # | Step Action | Expected Results |
|---|---|---|
| 1 | Login with Customer and add product ($100) to cart | Product in cart, subtotal shows $100.00 |
| 2 | Navigate to cart page | Cart page displays with coupon code input field |
| 3 | Enter coupon code: SAVE20 | Coupon code is entered in the field |
| 4 | Click "Apply" button | Coupon is validated |
| 5 | Verify discount application | Discount line shows: "SAVE20 (-20%): -$20.00". New subtotal: $80.00. Success message: "Coupon applied successfully" |
| 6 | Proceed to checkout and complete order | Order total reflects discounted amount throughout checkout |
Created Dec 17, 2025 by Demo User