Skip to content

259 — should test multisorting and then drag the bottom sorting to first position

Description

Verifies that the order of multi-sort entries can be changed by dragging — moving the secondary sort to the top swaps which field becomes the primary tie-breaker.

Preconditions

  • Signed-in test tenant
  • Five seeded time records (Private 01–05); one record has no Task value
  • 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. Expected: the sort list reads [Note, Task] in that order.
  2. Click Apply. Expected: Public description is sorted ascending and the Internal description column lists Private 01, 03, 02, 05, 04.
  3. Open the Filters panel again and drag the Task sort handle above the Note sort. Expected: the sort list reads [Task, Note] in that order.
  4. Click Apply. Expected: the new ordering is committed (row order itself is not verified because the unassigned-Task row's NULL ordering is non-deterministic).
  • Spec: playwright/tests/integration/filters.spec.ts (line 742)