Skip to content

255 — should filter by project, task and client

Description

Verifies that three time-records filters (Client, Task and Project) combine additively as AND conditions, and that "Clear filters" restores the full row set.

Preconditions

  • Signed-in test tenant
  • Five seeded time records (Private 01–05) with varied client / task / project / billable values; one record has no task assigned
  • Time Tracking Table view open showing all 5 records

Steps

  1. Open the Filters panel, add a Client filter row, choose "Is", pick "Client 02" and Apply. Expected: the grid shows 3 time records (Private 02, 03, 05) and the active filter count is 1.
  2. Open the Filters panel again, add a Task filter, choose "IsNot", pick "Task 01" and Apply. Expected: the grid still shows 3 records (Private 02, 03, 05 — the record with no task survives "IsNot") and the filter count is 2.
  3. Open the Filters panel, add a Project filter, choose "Is", pick "Project 03" and Apply. Expected: the grid shows 1 record (Private 03) and the filter count is 3.
  4. Click "Clear filters". Expected: the grid restores to all 5 time records (Private 01–05).
  • Spec: playwright/tests/integration/filters.spec.ts (line 535)