320 — should add an item then delete it from the items grid¶
Description¶
Verifies that an invoice item added to the items grid can be deleted via its row action, removing it from the grid and resetting the totals.
Preconditions¶
- Signed-in tenant with
Client 01,Private 04time record,expense2, and the user on the new invoice form past the client step.
Steps¶
- Click Add item, set its name, link time record
Private 04and expenseexpense2, save the item. - Expected: the items grid shows 1 item with items total price
€3,080.00. - Trigger the item's Delete row action. Expected: the delete-item confirmation appears. Confirm in the modal.
- Expected: the items grid shows 0 items, items total discount
€0.00, and items total price€0.00.
Related¶
- Spec:
playwright/tests/integration/invoice.spec.ts(line 557)