Aim to mention 20-40 concrete checks. This expanded list helps you turn a short answer into a structured senior-style response.
Adding one product creates the correct cart line with name, image, price, quantity, and subtotal.
Adding multiple products and adding the same product again updates quantity according to requirements.
Removing one item, clearing the cart, and reducing quantity to zero behave correctly.
Cart count, mini-cart, cart page, checkout button, and continue-shopping links update immediately.
Out-of-stock, low-stock, discontinued, and unavailable products cannot be purchased incorrectly.
Subtotal, shipping estimate, tax estimate, discount, promo code, and final total are calculated correctly.
Currency, rounding, localized formats, and price changes after adding to cart are handled.
Cart state persists after refresh, login, logout, session timeout, and browser restart if required.
Guest cart merges safely with account cart after login.
Inventory availability is rechecked before checkout and stale cart items are explained.
Invalid quantity, negative quantity, huge quantity, duplicate submit, and rapid clicks are handled.
Users cannot tamper with price, discount, product id, inventory, or cart owner from the client.
Backend errors, timeout, network failure, stale cart, and unavailable product states are recoverable.
Cart APIs return correct status codes and response schema.
Tenant, user, or session isolation prevents seeing another user's cart.
Empty cart, loading state, unavailable item message, and recovery actions are clear.
Keyboard navigation, labels, focus states, and screen reader updates work for quantity controls.
Mobile layout has usable controls and no horizontal scroll.
Large carts remain responsive and do not create slow checkout handoff.
Analytics or audit events for cart changes do not leak sensitive user data.
Structure your answer: Start with add, remove, quantity change, cart count, and checkout handoff.
Structure your answer: Add pricing and data rules: totals, tax, promo codes, inventory, persistence, and guest cart merge.
Structure your answer: Add negative and security cases: invalid quantities, tampering, stale products, backend failures, and isolation.
Structure your answer: Close with UX, accessibility, mobile behavior, performance with many items, and recovery states.
Do not miss: Guest cart merge after login.
Do not miss: Client-side tampering with price, discount, quantity, or product id.
Do not miss: Inventory changes between cart and checkout.
Do not miss: Screen reader updates when cart count or totals change.