Skip to content

115 — should check time record without project

Description

Verifies on the personal Calendar that for a time record with NO project (client only), the chip is tinted with the client color when source is CLIENT, but falls back to the default blue when source is PROJECT.

Preconditions

  • Signed-in tenant on the personal Calendar in Week view
  • A time record seeded with a client but no project (mutableData3)
  • Calendar settings dialog reachable

Steps

  1. Open Calendar settings, set color source to CLIENT, save. Expected: the "Calendar updated" toast appears.
  2. Inspect the client-only chip on today. Expected: chip color equals the seeded client color.
  3. Re-open Calendar settings, switch color source to PROJECT, save. Expected: the "Calendar updated" toast appears.
  4. Inspect the same chip again. Expected: chip color is the system default rgb(84, 141, 248) (blue) because there is no project to colour by.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 400)