Back to challenges
Interview ModeInterviewIntermediate
How would you test a shopping cart?
?
Scenario
Your interview prompt
An ecommerce cart supports add/remove, quantity changes, saved items, promo codes, tax estimate, shipping estimate, inventory warnings, guest carts, and logged-in cart persistence across devices.
List flows, risks, edge cases, data conditions, UX, security, API/backend, and performance concerns.
Tip: a stronger answer usually mixes happy path, negative cases, state changes, data, backend, UX, accessibility, and risk.
How to structure your answer
Happy pathNegative casesData rulesSecurity/API risksUX/performance