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¶
- Click
Current, then switch to Week view. - Click
Previous. Expected: the datepicker shows the previous week (offset -1). - Click
Nexttwice. Expected: the datepicker now shows the next week (offset +1). - Click
Current. Expected: the datepicker returns to the current week (offset 0).
Related¶
- Spec:
playwright/tests/integration/calendar.spec.ts(line 1493)