Skip to content

160 — should check correct previous and next day

Description

Verifies on the team Users calendar Day view that Previous/Next/Current arrows shift the visible day by exactly one day 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 Day view.
  2. Click Previous. Expected: the datepicker shows yesterday (offset -1).
  3. Click Next twice. Expected: the datepicker now shows tomorrow (offset +1).
  4. Click Current. Expected: the datepicker returns to today (offset 0).
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1507)