Hydra
Bug library · display · math

Wrong charged amount

The confirmation page reports the pre-discount subtotal as the amount charged.

Breaks: main, holdout · expected from Kane: caught · The main spec asserts 'Charged $58.00' on the confirmation page.

The diff

app/order/[id]/page.tsx
- Charged <strong data-testid="charged">{formatCents(order.totalCents)}</strong>
+ Charged <strong data-testid="charged">{formatCents(order.subtotalCents)}</strong>

Matches

No recorded match has planted this bug yet.