Skip to content

138 — should test right click on time record and edit

Description

Verifies on the personal Calendar Week view that the "Edit" context-menu entry on a time-record chip opens the edit modal and that saving with Billable off updates the tooltip.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Three seeded time records on today (mutableData1/2/3); mutableData1 is targeted

Steps

  1. Switch to Week view and click Current.
  2. Right-click mutableData1'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. Hover the chip again. Expected: the tooltip shows duration 08:00 and billable 0%.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 830)