Skip to content

256 — should filter by client, task and billable

Description

Verifies that three time-records filters (Client, Task and Billable) combine 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 / 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, choose "Is", pick "Client 02" and Apply. Expected: the grid shows 3 records (Private 02, 03, 05) and the 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) and the filter count is 2.
  3. Open the Filters panel, add a Billable filter, choose "Is" with the slider left at its default (OFF / non-billable) and Apply. Expected: the grid shows 2 records (Private 03, 05 — the non-billable subset of the previous result) and the filter count is 3.
  4. Click "Clear filters". Expected: the grid restores to all 5 records (Private 01–05).
  • Spec: playwright/tests/integration/filters.spec.ts (line 592)