168 — should check time records color based on user colors¶
Description¶
Verifies on the team Users calendar Week view that each time-record chip is tinted by the owner's avatar color — owner-owned chips share one color, the extra employee's chips share another.
Preconditions¶
- Signed-in tenant on the Users calendar (team view)
- Four seeded time records: TR0 + TR1 owned by the tenant owner, TR2 + TR3 owned by an extra employee
- Each user has a distinct avatar color assigned
Steps¶
- Switch to Week view and click
Current. - Verify TR0's chip color. Expected: it equals the owner's avatar color.
- Verify TR1's chip color. Expected: it equals the owner's avatar color.
- Verify TR2's chip color. Expected: it equals the employee's avatar color.
- Verify TR3's chip color. Expected: it equals the employee's avatar color.
Related¶
- Spec:
playwright/tests/integration/calendar.spec.ts(line 1615)