Skip to content

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

Description

Verifies on the personal 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 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 Week.
  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 Week view.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 150)