Skip to content

048 — should create project and test narrow rectangle area measurement

Description

Extreme aspect ratio 2 m × 0,1 m: area 0,20 m², perimeter 4,20 m, volume 200,00.

Preconditions

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

Steps

  1. Calibrate 1000 mm, draw narrow rectangle — Expected: Elongated rectangle on canvas
  2. Assert sides 2 000/100/2 000/100 mm; area 0,20 m² — Expected: Correct
  3. Grid row: perimeter=4,20m, volume=200,00 — Expected: Correct
  • Spec: tests/e2e/tests/drawings.spec.ts