Skip to content

148 — should set calendar view to month and check if its set by default

Description

Verifies on the team Users calendar that setting "Month" as the default view in settings makes the calendar open in Month view on the next session.

Preconditions

  • Signed-in tenant on the Users calendar (team view)
  • Time records seeded for every day of the current month
  • Browser localStorage cache for the previously chosen view will be cleared

Steps

  1. Open Calendar settings and set the default Calendar view to Month.
  2. Click Save. Expected: the "Calendar updated" toast appears.
  3. Clear the cached calendarTimelineView entry from browser storage and reload the page.
  4. Observe the calendar after reload. Expected: the calendar opens directly in Month view.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1161)