id: 025 module: retainage name: percentages-zero-long-retainage-5-and-0-percent title: Percentages: ZERO long retainage 5%/0% tags: [module:retainage, status:automated, priority:high] priority: high status: automated spec: tests/e2e/tests/retainage.spec.ts
025 — Percentages: ZERO long retainage 5%/0%¶
Description¶
Edge case with short=5%, long=0% on 605 000 Kč: with zero long retainage the full invoice is claimable = 605 000 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=5%, longRetainage=0%
Steps¶
- Navigate to Retainage page — Expected: Invoice visible
- Assert claim sum = 605 000 Kč; remaining = 0 Kč — Expected: 100% claimable because long = 0%
Related¶
- Spec:
tests/e2e/tests/retainage.spec.ts
Media¶
