Skip to content

045 — should create project and test L-shaped area measurement

Description

L-shape 1 m × 1 m with 0,5 m square cut: 6 sides, area 0,75 m², perimeter 4,00 m, volume 750,00.

Preconditions

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

Steps

  1. Draw L-shape at 1000 mm scale — Expected: L-shape with corner cut visible
  2. Assert 6 sides (1 000, 500, 500, 500, 500, 1 000 mm); area 0,75 m² — Expected: Correct
  3. Grid row: perimeter=4,00m, volume=750,00 — Expected: Correct
  • Spec: tests/e2e/tests/drawings.spec.ts