Skip to content

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

  1. Switch to Week view and click Current.
  2. Verify TR0's chip color. Expected: it equals the owner's avatar color.
  3. Verify TR1's chip color. Expected: it equals the owner's avatar color.
  4. Verify TR2's chip color. Expected: it equals the employee's avatar color.
  5. Verify TR3's chip color. Expected: it equals the employee's avatar color.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1615)