Skip to content

149 — should set calendar view to week and check if its set by default

Description

Verifies on the team Users calendar that setting "Week" as the default view in settings makes the calendar open in Week 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 Week.
  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 Week view.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1177)