085 — (detail) km problem when 1 km over maintenance limit¶
Description¶
Same as 072 but maintenance created from the vehicle detail page (not via receipt).
Preconditions¶
- Clean database
- User logged in with ADMIN role
- Two vehicle brands and models pre-created
- One vehicle created via API with
rexDeviceId=10
Steps¶
- Create maintenance from vehicle detail (mileage 10, next 10 000) — Expected: OK
- Update mileage to 9 511 — Expected: Problems count = 1
Related¶
- Spec:
tests/e2e/tests/vehicle.spec.ts