id: 024 module: retainage name: percentages-zero-short-retainage-0-and-5-percent title: Percentages: ZERO short retainage 0%/5% tags: [module:retainage, status:automated, priority:high] priority: high status: automated spec: tests/e2e/tests/retainage.spec.ts
024 — Percentages: ZERO short retainage 0%/5%¶
Description¶
Edge case with short=0%, long=5% on 605 000 Kč: retainageClaim = 95% × 605 000 = 574 750 Kč.
Preconditions¶
- Clean database (
TestControl.cleanDb()) - User logged in with ADMIN and ACCOUNTING roles
- User signature set up
- Contract 605 000 Kč, branch 2025020; shortRetainage=0%, longRetainage=5%
Steps¶
- Navigate to Retainage page — Expected: Invoice visible
- Assert claim sum = 574 750 Kč; remaining = 30 250 Kč — Expected: Long percentage (5%) applies
Related¶
- Spec:
tests/e2e/tests/retainage.spec.ts
Media¶
