043 — should create project and test rectangle area measurement¶
Description¶
Rectangle 1 m × 0,5 m: validates area 0,50 m², perimeter 3,00 m, volume 500,00.
Preconditions¶
- Clean database and S3
- User logged in with ADMIN and ACCOUNTING roles
- Test PDF drawing file available
Steps¶
- Create project + drawing, calibrate 1000 mm — Expected: Ready
- Draw 200×100 px rectangle — Expected: Rectangle on canvas
- Assert sides 1 000/500/1 000/500 mm; area 0,50 m² — Expected: Correct
- Grid row: perimeter=3,00m, height=1 000,00, volume=500,00, type=plocha — Expected: Correct
Related¶
- Spec:
tests/e2e/tests/drawings.spec.ts