Skip to content

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

Description

Verifies on the personal 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 personal Calendar
  • Time records seeded for every day of the current month
  • Browser localStorage cache for the previously chosen view will be cleared during the test to simulate a fresh session

Steps

  1. Open Calendar settings and set the default Calendar view to Month.
  2. Click Save. Expected: the "Calendar updated" confirmation 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 134)