Skip to content

164 — should test doubleclick on time record and edit

Description

Verifies on the team Users calendar Week view that double-clicking another user's time-record chip opens it for edit, and saving with Billable off keeps the chip + tooltip consistent with the updated 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. Double-click TR2's chip (looked up by record id). 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 1569)