112 — should create time record with client and project, and set color to project and then change project color¶
Description¶
Verifies on the personal Calendar that when the time-record color source is set to "Project", a time record's chip uses the project's color — and that changing the project color afterwards re-tints the chip.
Preconditions¶
- Signed-in tenant on the personal Calendar in Week view
- A time record seeded with a client AND project (mutableData1)
- An extra 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
PROJECTand click Save. Expected: the "Calendar updated" toast appears. - Locate the event for the seeded project on today. Expected: the chip background matches the project's currently-saved color.
- From the chip, navigate into the project to open its details page. Expected: the project page for the seeded project opens.
- Change the project's color to RGB
211, 1, 250and click Save. Expected: the "Updated" 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 project color.
Related¶
- Spec:
playwright/tests/integration/calendar.spec.ts(line 310)