Skip to content

050 — should test different calibration scale — 2000 mm

Description

Larger calibration (200 px = 2 m): 2 × 2 m square → area 4,00 m², perimeter 8,00 m, volume 8 000,00.

Preconditions

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

Steps

  1. Calibrate to 2000 mm and draw 200×200 px square — Expected: Shape on canvas
  2. Assert sides 2 000 mm; area 4,00 m²; grid row volume=8 000,00 — Expected: Values scale correctly
  • Spec: tests/e2e/tests/drawings.spec.ts