Skip to content

268 — should filter by Client and search at the same time

Description

Verifies that a Client filter and the full-text search work together — the search narrows the result further without affecting the applied-filter count.

Preconditions

  • Signed-in test tenant
  • Five seeded time records (Private 01–05); three of them belong to Client 02 (Private 02, 03, 05); Private 05 has "04" in one of its notes
  • Time Tracking Table view open showing all 5 records

Steps

  1. Confirm the grid starts with 5 time records. Expected: all five rows are visible.
  2. Open the Filters panel, add a Client filter, choose "Is", pick "Client 02" and Apply. Expected: 1 filter chip is active and the grid shows 3 records (Private 02, 03, 05).
  3. Type "04" into the table's full-text search box. Expected: the grid narrows to 1 record (Private 05 — the Client 02 record that also contains "04") and the filter chip count is still 1 (search is not counted as a filter).
  • Spec: playwright/tests/integration/filters.spec.ts (line 963)