Skip to content

054 — should create mixed measurement types — distance and area

Description

Distance and area measurements coexist with different units (m vs m²). Distance row has no perimeter/height/volume fields.

Preconditions

  • Clean database and S3
  • User logged in with ADMIN and ACCOUNTING roles
  • Test PDF drawing file available

Steps

  1. Calibrate 1000 mm and add line + square measurements — Expected: Both on canvas
  2. Grid row (line) — Expected: type=délka, unit=m, value=1,00; no perimeter/height/volume
  3. Grid row (area) — Expected: type=plocha, unit=m², value=1,00, perimeter=4,00m, height=1 000,00, volume=1 000,00
  • Spec: tests/e2e/tests/drawings.spec.ts