Skip to content

141 — should create time record and then move it with mouse to another day

Description

Verifies on the personal Calendar Month view that a user-created full-day time record can be dragged with the mouse from day 10 to day 20, and the chip's tooltip reflects the new dates.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Three seeded time records elsewhere on the month
  • Calendar in Month view, focused on the current month

Steps

  1. Switch to Month view and click Current.
  2. Click day 10. Expected: the new-time-record modal opens with duration 24:00.
  3. Set hourly Rate to 200 and click Create. Expected: the "Created" toast appears.
  4. Hover the chip on day 10. Expected: its tooltip shows day 10 → day 11, duration 24:00, billable 0%.
  5. Drag the chip from day 10 onto day 20. Expected: the "Updated" toast appears.
  6. Hover the chip on day 20. Expected: its tooltip now shows day 20 → day 21 with the same duration and billable.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 903)