315 — should sum prices when both a time record and an expense are linked¶
Description¶
Verifies that when an invoice item has both a time record and an expense linked, the item's price and final price equal the sum of the linked amounts.
Preconditions¶
- Signed-in tenant with
Client 01, thePrivate 04time record (€2,880.00) andexpense2(€200.00), and the user on the new invoice form past the client step.
Steps¶
- Click Add item, type the item name.
- Link the time record
Private 04via the time-records picker. Expected: item price2880and final price2880. - Link
expense2via the additional-items picker. Expected: item price3080and final price3080(2880 + 200).
Related¶
- Spec:
playwright/tests/integration/invoice.spec.ts(line 467)