062 — should create vehicle with all form fields filled¶
Description¶
Creates a vehicle with license plate, VIN, brand, model, 5 seats, state, 3 500 kg weight, tow bar, 500 000 acquisition value, warranty 24 months, REX device ID, note and image. Verifies all fields render on the detail page.
Preconditions¶
- Clean database
- User logged in with ADMIN role
- Two vehicle brands and models pre-created
Steps¶
- On Vehicles page click new vehicle — Expected: Form opens
- Fill all fields and upload car image; Save — Expected: Vehicle
ABC1234appears in list with Brand 1 / Model 1 - Open vehicle detail — Expected: All fields match entered values, image visible
Related¶
- Spec:
tests/e2e/tests/vehicle.spec.ts