Skip to content

328 — should apply default rounding: ${option}

Description

Verifies that picking a default rounding option (Nearest hundredth, Nearest tenth, Nearest one, Nearest ten, Nearest hundred, Nearest thousand) in invoice settings is applied automatically to every newly created invoice. This test is parameterized and runs once per rounding option.

Preconditions

  • Signed-in tenant with Client 01 and the user on the Invoice settings page.

Steps

  1. Set the Default rounding to the option under test.
  2. Expected: for every option except Nearest hundredth (the system default, which is a no-op save), the "Saved" toast appears.
  3. Switch to Invoices, click Create invoice, pick Client 01, click Next.
  4. Expected: the new invoice's rounding control shows the chosen option.
  • Spec: playwright/tests/integration/invoice.spec.ts (line 829)