Skip to content

305 — should create draft and set as paid from list-row action

Description

Verifies that an unpaid draft can be flipped to "Paid" directly from the invoice list using the row action, without reopening the invoice form.

Preconditions

  • Signed-in tenant with Client 01, a seeded bank account, and the user on the Invoices list page.

Steps

  1. Click Create invoice, pick Client 01, click Next, fill date of issue (4th day), due date (8th), date of taxable supply (10th), and the bank account.
  2. Click Save as draft and close the modal. Expected: the list shows 1 invoice and the new €0.00 row's payment status is -.
  3. From the row's action menu, click Set as paid. Expected: the "Saved" toast appears and the row's payment status becomes Paid.
  • Spec: playwright/tests/integration/invoice.spec.ts (line 212)