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¶
- Switch to Week view and click
Current. - Double-click TR2's chip (looked up by record id). Expected: the time-record edit modal opens.
- Toggle Billable off and click Save. Expected: the "Updated" toast appears.
- Refetch the time records via API.
- Re-verify TR2's chip and tooltip. Expected: they now match the updated API record.
Related¶
- Spec:
playwright/tests/integration/calendar.spec.ts(line 1569)