Skip to content

653 — Change nothing when the recalculate-rates modal is cancelled

Description

Cancelling the "Recalculate rates" confirmation runs no recalculation — every selected record keeps its current (zero) hourly rate, even though a matching billable rate exists.

Preconditions

  • Signed in to a freshly seeded test organization.
  • Three time records seeded via the GraphQL API (no hourly rate), all owned by the owner.
  • A user-scoped billable rate exists (so a recalculation would change the rate if run).
  • Time Records page open in the Reports view.

Steps

  1. Tick the selection checkbox on all three rows. Expected: the floating bar shows "3 selected".
  2. Click the recalculate-rates action; the "Recalculate rates" modal opens.
  3. Click Cancel. Expected: the modal closes.
  4. Inspect the rows. Expected: every record's Hourly Rate is still "€ 0.00" — nothing was recalculated.
  • Spec: playwright/tests/integration/timerecord.spec.ts (describe "Timerecord - Bulk edit")