Senior~20 minBusiness rulesRecalculationDeep links
Coupon and delivery fee maths
App: TrendKart, a practice fashion marketplace (Myntra-style). Login: No login needed.
Interview scenario
"The bag has three pricing rules: coupon TRENDY10 gives 10% off the selling price (rounded), orders under ₹999 after the coupon pay ₹99 delivery, and an invalid code shows an error. Write the test a senior SDET would write."
Acceptance criteria
- Add the Roadway Men Printed Round Neck T-shirt (₹399) in size M to the bag and open the bag.
- Apply coupon WRONG and assert "Invalid coupon code".
- Apply TRENDY10 and assert the coupon discount is ₹40 and the delivery fee is ₹99.
- Change quantity to 3 and assert the delivery becomes FREE and Total Amount is ₹1,077.
🔒 This lab is part of full access
Unlock the live editor, the scenario checks and the reference solutions in Playwright and Selenium Java for all 25 labs, plus every interview answer. One payment of ₹999, lifetime access.