Skip to content

121 — should delete soupis and verify sums change

Description

Deleting a filled soupis requires clearing values first; afterward the budget sheet recalculates to reflect remaining soupises only.

Preconditions

  • Clean database
  • User logged in with ADMIN and ACCOUNTING roles
  • Excel file with budget data available
  • Project, budget and budget sheet created (from Excel, range B23:G58)
  • Two filled soupises exist

Steps

  1. Verify combined summary — Expected: 146 000,01 Kč / 6,32 % / 9 226,90 Kč
  2. Clear all values in Únor 2025Expected: Delete button becomes visible
  3. Delete Únor 2025Expected: Row removed
  4. Budget sheet summary — Expected: Back to 146 000,01 Kč / 5,36 % / 7 827,90 Kč
  • Spec: tests/e2e/tests/budgets.spec.ts