Skip to content

144 — should create time record and extend it with mouse

Description

Currently skipped — verifies on the personal Calendar Day view that a 30-minute time record at 08:00 can be dragged at its bottom edge to extend its duration to 01:00, and the tooltip updates to match.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Three seeded time records elsewhere on today
  • Test is currently skip-marked: the calendar's resize gesture does not engage reliably through Playwright's mouse APIs (real-user behaviour is unaffected)

Steps

  1. Switch to Day view and click Current, then click the 08:00 time slot.
  2. Set duration to 00:30, hourly Rate to 200, click Create. Expected: the "Created" toast appears.
  3. Hover the new chip. Expected: tooltip shows 08:00–08:30, duration 00:30, billable 0%.
  4. Drag the chip's bottom resize handle downward to extend its end time by 30 minutes. Expected: the "Updated" toast appears.
  5. Hover the chip again. Expected: tooltip now shows 08:00–09:00, duration 01:00.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1057)