634 — should preserve saved order when cancelling reorder¶
Description¶
Verifies that dragging items in the Change priority dialog and then clicking Cancel discards the local reorder — the page chips and the backing billableRatePriority query remain at the order that was last saved (default in this scenario).
Preconditions¶
- Signed-in tenant owner with a fresh organization.
- Priority is at the server default.
- The Finance Settings → Hourly rates page is open.
Steps¶
- Click Edit. Expected: the Change priority dialog opens with the default order.
- Drag items to a new order (User on top, Task at the bottom). Expected: the dialog reflects the dragged order.
- Click Cancel. Expected: the dialog closes without a snackbar.
- Assert the page chips. Expected: chips remain in the default order.
- Query
billableRatePriorityvia API. Expected: the persisted order equals the default.
Related¶
- Spec:
playwright/tests/integration/hourlyRate.spec.ts