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¶
- Switch to Week view and click
Current. - Right-click TR2's chip and choose
Edit. 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 1601)