Skip to content

257 — should filter by Project, Note and sort by note

Description

Verifies that combining filters (Project "IsSet" + Billable "Is" ON) and a Note sort works together, that the sort direction can be flipped, and that "Clear filters" resets everything.

Preconditions

  • Signed-in test tenant
  • Five seeded time records (Private 01–05); one record (Private 05) has no project; some are billable and some not
  • Time Tracking Table view open showing all 5 records

Steps

  1. Open the Filters panel, add a Project filter, choose "IsSet" and Apply. Expected: the grid shows 4 records (Private 01, 02, 03, 04 — the project-less Private 05 is hidden) and the filter count is 1.
  2. Open the Filters panel again, add a Billable filter, choose "Is" with the slider toggled ON and Apply. Expected: the grid shows 3 records (Private 01, 02, 04) and the filter count is 2.
  3. Open the Filters panel, add a Sort by Note ascending and Apply. Expected: the grid still shows 3 records, the Public-description column is sorted ascending, and the filter count is 3.
  4. Open the Filters panel and switch the Note sort to descending, Apply. Expected: the Public-description column is now sorted descending.
  5. Click "Clear filters". Expected: the grid restores to all 5 records (Private 01–05).
  • Spec: playwright/tests/integration/filters.spec.ts (line 648)