Skip to content

134 — should drag from date 12 to 19 in the calendar month view

Description

Verifies on the personal Calendar Month view that dragging from day 12 to day 19 opens the new-time-record dialog pre-filled with a 7-day (168-hour) span and that the resulting record renders correctly.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Three seeded time records (mutableData1/2/3) elsewhere in the month — days 12–18 expected empty

Steps

  1. Switch to Month view, click Current, then click-and-drag from day 12 to day 18.
  2. Expected: the new-time-record modal opens with duration 168:00 (12 → 19 = 7 days).
  3. Set hourly Rate to 200 and click Create.
  4. Hover the new chip that now lives on day 12. Expected: its tooltip shows start day 12, end day 19, duration 168:00 and billable 0%.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 767)