307 — should bulk archive two invoices and surface them via filters¶
Description¶
Verifies that two invoices can be bulk-archived from the list and that the Show archived quick filter brings them back into view.
Preconditions¶
- Signed-in tenant with
Client 01, a seeded bank account, and the user on the Invoices list page.
Steps¶
- Create two drafts back-to-back: open the invoice form, pick
Client 01, fill issue/due/taxable dates and bank account, save as draft and close. Repeat. Expected: the list shows 2 invoices. - Click Select all. Expected: the selection counter reads
2. - Click the bulk Archive action. Expected: the archive confirmation appears. Confirm in the modal. Expected: the "Archived" toast appears.
- Expected: the active list now shows 0 invoices.
- Open Filters, click the quick filter Show archived, and apply. Expected: the list now shows the 2 archived invoices.
Related¶
- Spec:
playwright/tests/integration/invoice.spec.ts(line 247)