Skip to content

167 — should test right click on time record and edit

Description

Verifies on the team Users calendar Week view that the "Edit" context-menu entry on TR2's chip opens the edit modal and that saving with Billable off updates the chip/tooltip to match the new API record.

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.
  2. Right-click TR2's chip and choose Edit. Expected: the time-record edit modal opens.
  3. Toggle Billable off and click Save. Expected: the "Updated" toast appears.
  4. Refetch the time records via API.
  5. Re-verify TR2's chip and tooltip. Expected: they now match the updated API record.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1601)