114 — should check time record without client¶
Description¶
Verifies on the personal Calendar that for a time record with NO client (project only), the chip always uses the project color regardless of whether the color source is set to Project or Client (Client falls back to Project when client is missing).
Preconditions¶
- Signed-in tenant on the personal Calendar in Week view
- A time record seeded with a project but no client (mutableData2)
- Calendar settings dialog reachable
Steps¶
- Open Calendar settings, set color source to
PROJECT, save. Expected: the "Calendar updated" toast appears. - Inspect the project-only chip on today. Expected: chip color equals the seeded project color.
- Re-open Calendar settings, switch color source to
CLIENT, save. Expected: the "Calendar updated" toast appears. - Inspect the same chip again. Expected: chip color still equals the project color — there's no client to colour by, so it falls back.
Related¶
- Spec:
playwright/tests/integration/calendar.spec.ts(line 376)