067 — should assign multiple vehicles to single receipt¶
Description¶
Links two different vehicles to the same receipt and verifies each vehicle's Receipts tab shows the shared receipt with both vehicles listed.
Preconditions¶
- Clean database
- User logged in with ADMIN role
- Two vehicle brands and models pre-created
- Two vehicles + receipts created via API; receipts linked to both vehicles; app settings configured
Steps¶
- Link vehicle1 and vehicle2 to the same receipt — Expected: Vehicles field shows both plates
- Each vehicle's Receipts tab shows the receipt with both vehicles — Expected: Shared receipt visible
Related¶
- Spec:
tests/e2e/tests/vehicle.spec.ts