QA
Senior~20 minBusiness rulesRecalculationDeep links

Coupon and delivery fee maths

App: TrendKart, a practice fashion marketplace (Myntra-style). Login: No login needed.

Next scenario →

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

  1. Add the Roadway Men Printed Round Neck T-shirt (₹399) in size M to the bag and open the bag.
  2. Apply coupon WRONG and assert "Invalid coupon code".
  3. Apply TRENDY10 and assert the coupon discount is ₹40 and the delivery fee is ₹99.
  4. 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.