311 — should select all time records, then unselect one from selected list¶
Description¶
Verifies that after linking all available time records to an invoice item the user can return to the picker, unselect one from the Selected list, and the item totals are recomputed accordingly.
Preconditions¶
- Signed-in tenant with
Client 01, two billable time records (Private 01€480.00 andPrivate 04€2,880.00), and the user on the new invoice form past the client step.
Steps¶
- Click Add item, type the item name, open the Time records link picker, click Select all, save. Expected: the time-records total in the item modal reads
3,360.00. - Reopen the picker. Expected: 2 selected. From the selected list, uncheck
Private 01. Expected: the selection bar reads1 selected | €480.00. Click Remove selected. Expected: 1 selected, 1 unselected. Save. - Expected: the item shows time-records link count
1, time-records total2,880.00, item price2880, and final price2880.
Related¶
- Spec:
playwright/tests/integration/invoice.spec.ts(line 371)