044 — should create project and test triangle area measurement¶
Description¶
Right triangle with 1 m legs: hypotenuse ≈ 1 414 mm, area 0,50 m², perimeter 3,41 m, volume 500,00.
Preconditions¶
- Clean database and S3
- User logged in with ADMIN and ACCOUNTING roles
- Test PDF drawing file available
Steps¶
- Calibrate 1000 mm, draw 200×200 px right triangle — Expected: Shape on canvas
- Assert sides 1 000, 1 414, 1 000 mm; area 0,50 m² — Expected: Hypotenuse correctly computed
- Grid row: perimeter=3,41m, height=1 000,00, volume=500,00 — Expected: Correct
Related¶
- Spec:
tests/e2e/tests/drawings.spec.ts