Skip to content

143 — should check if 100 time records are correctly shown in day

Description

Verifies on the personal Calendar that 100 multi-day (48-hour) time records crossing today and tomorrow render correctly in Month, Week, and Day views, including the "+more" overflow links on both today and tomorrow.

Preconditions

  • Signed-in tenant on the personal Calendar
  • Three seeded time records (baseline 3, or 4 on Sun/Mon)
  • 100 long (48-hour) time records created via API starting at today 00:00 — they all cross today and tomorrow

Steps

  1. Switch to Month view and click Current. Expected: today's count equals 100 + baseline.
  2. Click the "+more" link on today. Expected: the overflow popover header shows today's date and lists 100 + 3 events.
  3. Press Escape, then click the "+more" link on tomorrow. Expected: the overflow popover header shows tomorrow's date and lists 98 + 3 events.
  4. Switch to Week view, click Current. Expected: today shows 99 + 4 time records; click the today "+more" link → popover lists 99 + 2; press Escape, click tomorrow's "+more" → popover lists 99 + 2.
  5. Switch to Day view, click Current. Expected: today shows 100 + 3 time records; clicking the today "+more" link surfaces 99 + 2 events in the popover.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 991)