LearnNewsExamplesServices
Frontmatter
id8086
title[Tests] Add unit tests for Draggable SortZone
stateClosed
labels
aitesting
assigneestobiu
createdAtDec 11, 2025, 3:29 AM
updatedAtDec 11, 2025, 3:31 AM
githubUrlhttps://github.com/neomjs/neo/issues/8086
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 11, 2025, 3:31 AM

[Tests] Add unit tests for Draggable SortZone

Closed v11.17.0 aitesting
tobiu
tobiu commented on Dec 11, 2025, 3:29 AM

Add a new unit test suite for Neo.draggable.container.SortZone using Playwright.

Coverage:

  1. Initialization with mixed content (sortable and non-sortable items).
  2. Sorting logic:
    • Dragging items from end to start.
    • Dragging items from start to end.
  3. Correct index calculation when a dragPlaceholder is present.

This ensures the fix for #8054 is regression-tested and that mixed-content containers (like Toolbars with separators) remain stable.

tobiu added the ai label on Dec 11, 2025, 3:29 AM
tobiu added the testing label on Dec 11, 2025, 3:29 AM
tobiu assigned to @tobiu on Dec 11, 2025, 3:30 AM
tobiu referenced in commit c77c6ff - "[Tests] Add unit tests for Draggable SortZone #8086" on Dec 11, 2025, 3:31 AM
tobiu closed this issue on Dec 11, 2025, 3:31 AM