Skip to content

150 — should set calendar view to day and check if its set by default

Description

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