Skip to content

317 — should compute discount as absolute amount on an item

Description

Verifies that an item discount entered as a flat Amount is subtracted from the item's price to produce the final price.

Preconditions

  • Signed-in tenant with Client 01 and the user on the new invoice form past the client step.

Steps

  1. Click Add item and enter price 200. Expected: final price reads 200.
  2. Switch the item discount type to Amount and enter value 50. Expected: final price reads 150 (200 − 50).
  • Spec: playwright/tests/integration/invoice.spec.ts (line 489)