Checkout total calculation
- src/checkout.js changes how valid and expired promo codes update the displayed total.
Preflight Scout / release QA report
Risk HIGH
Do not ship yet
Illustrative fixture only — no live model or browser run. This example checks whether promo-code feedback changes the checkout total.
Needs attention before production. 1 browser check failed; 0 were blocked.
Why this mattered
PASSEDturn-1 Opened the checkout at the synthetic local target.
PASSEDturn-2 SAVE10 reduced the displayed total from $100.00 to $90.00.
Why this mattered
PASSEDturn-1 Opened the checkout at the synthetic local target.
FAILEDturn-2 Expired-code feedback was visible, but the total changed to $90.00; expected $100.00.
/ (page) from index.html