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 ActionExpected Results
1Login with Customer and add product ($100) to cartProduct in cart, subtotal shows $100.00
2Navigate to cart pageCart page displays with coupon code input field
3Enter coupon code: SAVE20Coupon code is entered in the field
4Click "Apply" buttonCoupon is validated
5Verify discount applicationDiscount line shows: "SAVE20 (-20%): -$20.00". New subtotal: $80.00. Success message: "Coupon applied successfully"
6Proceed to checkout and complete orderOrder total reflects discounted amount throughout checkout
Created Dec 17, 2025 by Demo User