Skip to content

113 — should set client color, check it and then set to project color and check it

Description

Verifies on the personal Calendar that toggling the color source between Client and Project re-tints existing time-record chips accordingly, without changing anything else.

Preconditions

  • Signed-in tenant on the personal Calendar in Week view
  • A time record seeded with both client and project (mutableData1) on today
  • Calendar settings dialog reachable

Steps

  1. Open Calendar settings, set color source to CLIENT, save. Expected: the "Calendar updated" toast appears.
  2. Inspect today's time-record chip. Expected: chip color equals the client's 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 now equals the project's color.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 351)