Skip to content

260 — should create multisorting quick filter, save it and then use it to sort time records

Description

Verifies that a combined filter+sort configuration can be saved as a named quick filter, persists across a page reload, and reapplies the same filters and sort when invoked.

Preconditions

  • Signed-in test tenant
  • Five seeded time records (Private 01–05) with mixed project / billable / note values
  • Time Tracking Table view open

Steps

  1. Open the Filters panel and add: Project "IsSet"; Billable "Is" ON; Sort by Note ascending.
  2. Click "Save as quick filter", give it a title, and confirm. Expected: a "Saved" toast appears.
  3. Reload the page. Expected: the grid shows all 5 time records again (the configuration is not auto-applied).
  4. Open the Filters panel and inspect the quick-filter list. Expected: there is exactly 1 quick filter button bearing the saved title.
  5. Click the saved quick filter button. Expected: the panel restores: Project operator "IsSet", Billable operator "Is" with slider ON (2 filter rows total) and Note sort ascending (1 sort).
  6. Click Apply. Expected: the grid shows 3 records (Private 01, 02, 04), Public description sorted ascending, and 3 active filter chips.
  7. Click "Clear filters". Expected: the grid restores to all 5 records.
  • Spec: playwright/tests/integration/filters.spec.ts (line 770)