Skip to content

041 — should create project and test calibration with vertical and horizontal measurements

Description

Validates drawing calibration: 200px = 1000mm. Horizontal, vertical and 45° diagonal lines of equal pixel length all measure 1 000 mm.

Preconditions

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

Steps

  1. Create project Test Project, add drawing Půdorys 1.PPExpected: Project and drawing created; appear in grids
  2. Open Výměry tab and calibrate 200 px = 1000 mm — Expected: Scale reference established
  3. Draw horizontal, vertical and 45° diagonal lines — Expected: All three measurements report 1 000 mm
  • Spec: tests/e2e/tests/drawings.spec.ts