066 — should display vehicle in multiple receipts¶
Description¶
Links the same vehicle to two receipts and verifies both appear in the vehicle's Receipts tab; the other vehicle has no receipts.
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 to receipt1 and receipt2 — Expected: Both receipts show vehicle1
- Open vehicle1 > Receipts — Expected: Both receipts appear
- Open vehicle2 > Receipts — Expected: No receipts
Related¶
- Spec:
tests/e2e/tests/vehicle.spec.ts