Skip to content

120 — should check correct time record created 5 months ago with datepicker

Description

Verifies on the personal Calendar Month view that using the datepicker to jump 5 months back surfaces a time record seeded for that historical date, with the correct tooltip values, and that "This" returns to the current month.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Standard seeded records on today
  • A new 3-hour time record created via API dated exactly 5 months ago

Steps

  1. Switch to Month view, open the datepicker and set it to the historical month/day five months ago, then close it.
  2. Expected: the datepicker now reports a month offset of -5.
  3. Locate the historical event by its record id. Expected: its tooltip shows the correct seeded start time, end time and duration 03:00.
  4. Open the datepicker again and click This. Expected: the datepicker returns to the current month (offset 0).
  • Spec: playwright/tests/integration/calendar.spec.ts (line 519)