QALernCode. Code, test, automate.
Free play missions

Free play. No account needed. Your score is not saved and XP is only earned with a free account.

beginnerbug hunting8 min100 XP

Find the Checkout Bug

Something on this order summary does not add up. Find the defects before a customer does.

Learning objectives

  • Check calculations against business rules
  • Separate real defects from correct behaviour
  • Pick a technique that targets a rule

Scenario

Business rules: code SAVE10 gives 10% off the subtotal. Shipping is $5.00, and free when the amount after discount is over $50.00. Cart: 2 shirts at $25.00 each and 1 cap at $10.00, with SAVE10 applied.

Instructions

Work out what the summary should show, then compare it with the screen. You need 70% to pass, and you can retry as often as you like.