111 — should create time record with client and project, and set color to client and then change client color¶
Description¶
Verifies on the personal Calendar that when the time-record color source is set to "Client", a time record's chip uses the client's color — and that changing the client's color afterwards re-tints the chip live.
Preconditions¶
- Signed-in tenant on the personal Calendar in Week view
- A time record seeded with a client AND project (mutableData1)
- A fresh additional time record seeded for the current day, 09:00–10:00
- Calendar settings dialog reachable
Steps¶
- In Calendar settings switch the time-record color source to
CLIENTand click Save. Expected: the "Calendar updated" toast appears. - Locate the event for the seeded client on today. Expected: the event chip background matches the client's currently-saved color.
- From the chip, click into the client and open its details page. Expected: the client details page for the seeded client opens.
- Change the client's color to RGB
211, 1, 250and click Save. Expected: the "Updated" confirmation toast appears. - Navigate back to the personal Calendar and re-open the current week.
- Locate the same event. Expected: the chip is now tinted
rgb(211, 1, 250)— the new client color.
Related¶
- Spec:
playwright/tests/integration/calendar.spec.ts(line 269)