Skip to content

170 — should filter time records by employee

Description

Verifies on the team Users calendar Week view that clicking the extra employee's avatar in the user filter strip filters the calendar down to only that employee's time records.

Preconditions

  • Signed-in tenant on the Users calendar (team view)
  • Four seeded time records: TR0/TR1 (owner) and TR2/TR3 (extra employee)
  • User filter strip visible

Steps

  1. Switch to Week view and click Current. Expected: all 4 time records are shown.
  2. Click the employee's avatar in the filter strip.
  3. Expected: TR2's chip and tooltip remain visible and match the API record.
  4. Expected: TR3's chip and tooltip remain visible and match the API record.
  5. Expected: the calendar now shows only 2 time records — the owner's records are hidden.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 1639)