Frontend testing · Invoice
GST at 18% on ₹1,500 is shown as ₹207 instead of ₹270
P1 · CriticalIntermediateInvoice
Want to find it yourself first? This page gives away the answer. Play this bug on a fake app screen and see if you can spot it in three tries.
The clue
Work out 18% of the subtotal.
Steps to reproduce
- Create an invoice for ₹1,000 plus ₹500
- Compare the GST line with 18% of the subtotal
Expected result
GST ₹270 and total ₹1,770
Actual result
GST ₹207 and total ₹1,707
Why it matters
This is a critical (P1) bug. It can lose money, expose private data or stop people from finishing a key task. A bug like this should block a release and be fixed straight away.
Testing tip
Check tax by hand on at least two amounts. Swapped digits are an easy bug to miss.
How to find bugs like this
Frontend bugs are the ones users see on the screen: wrong totals, labels that do not match, broken layouts, dates that cannot be right and buttons that say the wrong thing. When you test, try these checks:
- Add up every total and compare numbers that should match.
- Read every label, plural and date out loud.
- Try the smallest and largest values a field allows.
- Check the screen on a small phone and with long text.