Skip to content

258 — should test multisorting

Description

Verifies multi-sort on the time-records grid: a primary Note sort plus a secondary Task sort, with tie-breaking working both when the secondary direction is Desc and when it is flipped to Asc.

Preconditions

  • Signed-in test tenant
  • Five seeded time records (Private 01–05) where two records share the same Public note ("Public 02") so Task acts as the tie-breaker
  • Time Tracking Table view open showing all 5 records

Steps

  1. Open the Filters panel, add Sort by Note ascending, then add Sort by Task descending, Apply. Expected: Public description is sorted ascending and the Internal description column lists the records in the order Private 01, 03, 02, 05, 04 (Task DESC breaks the Public-02 tie).
  2. Open the Filters panel again and switch the Task sort to ascending, Apply. Expected: Public description is still sorted ascending and the Internal description column now lists Private 01, 02, 03, 05, 04 (Task ASC reverses the tie-breaker between Private 02 and 03).
  • Spec: playwright/tests/integration/filters.spec.ts (line 708)