Skip to content

316 — should compute discount as percentage on an item

Description

Verifies that an item discount entered as a percentage is applied to 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. Default discount type is Percentage.

Steps

  1. Click Add item and enter price 200. Expected: final price reads 200.
  2. Enter discount value 50 (percent). Expected: final price reads 100 (200 × (1 − 50%)).
  • Spec: playwright/tests/integration/invoice.spec.ts (line 481)