Skip to content

116 — should test default color of time record without client and project

Description

Verifies on the personal Calendar that a time record with neither client nor project always renders in the default blue colour, no matter which color source is chosen.

Preconditions

  • Signed-in tenant on the personal Calendar in Day view
  • A plain time record seeded for today, 09:00–10:00 (duration 01:00) with no client or project
  • Calendar settings dialog reachable

Steps

  1. Open Calendar settings, set color source to PROJECT, save. Expected: the "Calendar updated" toast appears.
  2. Locate the 01:00-duration chip on today. Expected: chip color is the default rgb(84, 141, 248).
  3. Re-open Calendar settings, switch color source to CLIENT, save. Expected: the "Calendar updated" toast appears.
  4. Inspect the same chip. Expected: chip color is still rgb(84, 141, 248) — neither client nor project exists, so the default is used.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 424)