Skip to content

069 — should add multiple maintenance records via receipt

Description

Creates two maintenance records through receipts and verifies both appear in the vehicle's Maintenance tab.

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 first maintenance via receipt1 — Expected: First row appears
  2. Create second maintenance via receipt2 — Expected: Both rows appear with distinct data
  • Spec: tests/e2e/tests/vehicle.spec.ts