Skip to content

159 — should check correct previous and next week

Description

Verifies on the team Users calendar Week view that Previous/Next/Current arrows shift the visible week by exactly one week at a time.

Preconditions

  • Signed-in tenant on the Users calendar (team view)
  • Time records seeded for owner and an extra employee across the current week
  • Organization timezone set to Atlantic/Reykjavik

Steps

  1. Click Current, then switch to Week view.
  2. Click Previous. Expected: the datepicker shows the previous week (offset -1).
  3. Click Next twice. Expected: the datepicker now shows the next week (offset +1).
  4. Click Current. Expected: the datepicker returns to the current week (offset 0).
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1493)