Skip to content

139 — should create multiple time records in the same day

Description

Verifies on the personal Calendar Month view that the user can click the same day 10 times in a row and create 10 full-day time records on it, with the chip count growing by one each iteration.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Three seeded time records (mutableData1/2/3) — counted as the baseline (4 on Sun/Mon because mutableData3 spans across the week boundary)

Steps

  1. Switch to Month view and click Current.
  2. Repeat the following 10 times for target day 12:
    • Click day 12. Expected: the new-time-record modal opens pre-filled with duration 24:00.
    • Set hourly Rate to 200 and click Create.
    • Expected: the calendar's time-record count grows by 1 each iteration.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 848)