158 — should check correct previous and next month¶
Description¶
Verifies on the team Users calendar Month view that Previous/Next/Current arrows shift the date pill by exactly one month 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 (trId0/1/2/3)
- Organization timezone set to Atlantic/Reykjavik (no DST offset)
Steps¶
- Click
Current, then switch to Month view. - Click
Previous. Expected: the datepicker shows the previous month (offset -1). - Click
Next. Expected: the datepicker is back on the current month (offset 0). - Click
Nextagain. Expected: the datepicker shows the next month (offset +1). - Click
Current. Expected: the datepicker returns to the current month (offset 0).
Related¶
- Spec:
playwright/tests/integration/calendar.spec.ts(line 1478)