Apply Discount Code
Verify that discount codes can be applied to POS orders, the discount is calculated correctly, and invalid codes show appropriate errors.
Preconditions
- You are on the POS page
- Cart has at least one item
- A valid discount code exists (e.g., "SAVE10" for 10% off)
Test Data
Valid code: SAVE10 (10% off), Invalid code: INVALID123Test Steps
Follow each step carefully
Locate the discount code input in the cart area
"Discount Code" or "Promo Code" field in cart summary
Discount code input field is visible
Enter a valid discount code
Type the discount code in the input field
Code is entered in the field
Click "Apply" to apply the discount
"Apply" button next to the code field
Success message appears, discount is applied
Verify the discount is reflected in the total
Cart summary showing subtotal, discount, and total
Discount amount is shown and total is reduced
Remove the discount code
"Remove" or "X" button next to applied discount
Discount is removed, total returns to original
Try applying an invalid discount code
Enter "INVALID123" and click Apply
Error message appears indicating invalid code
Expected Result
Discount handling works correctly: (1) Valid codes apply the correct discount, (2) Discount is shown as a line item in cart summary, (3) Total recalculates with discount applied, (4) Discounts can be removed, (5) Invalid codes show clear error messages.
Ready to Complete?
Click when you have verified all steps and the expected result.
Test Info
- Module
- Point of Sale
- Steps
- 6
- Duration
- 3 min
- XP Value
- +30