Skip to content

165 — should delete time record

Description

Verifies on the team Users calendar Week view that right-clicking the employee's time-record chip and choosing "Move to trash" removes it and the counter drops from 4 to 3.

Preconditions

  • Signed-in tenant on the Users calendar (team view)
  • Four seeded time records; TR2 (the employee's) is targeted
  • Organization timezone set to Atlantic/Reykjavik

Steps

  1. Switch to Week view and click Current. Expected: the calendar shows 4 time records.
  2. Right-click TR2's chip and choose Move to trash. Expected: the move-to-trash confirmation modal appears.
  3. Confirm the action. Expected: the "Moved to trash" toast appears.
  4. Expected: the calendar now shows 3 time records.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1581)