Skip to content

073 — (receipt) km problem when exactly at maintenance limit

Description

Mileage 9 510 km = threshold boundary. Problem appears.

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

  1. Create maintenance — Expected: OK
  2. Update mileage to 9 510 — Expected: Problems count = 1
  • Spec: tests/e2e/tests/vehicle.spec.ts