LearnNewsExamplesServices
Frontmatter
id9197
titleAdd Regression Test for Dynamic Grid Columns
stateClosed
labels
testingcore
assigneestobiu
createdAtFeb 17, 2026, 3:18 PM
updatedAtFeb 17, 2026, 3:21 PM
githubUrlhttps://github.com/neomjs/neo/issues/9197
authortobiu
commentsCount1
parentIssue9194
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 17, 2026, 3:19 PM

Add Regression Test for Dynamic Grid Columns

Closed v12.0.0 testingcore
tobiu
tobiu commented on Feb 17, 2026, 3:18 PM

Objective

Add a unit test (test/playwright/unit/grid/DynamicColumn.spec.mjs) to verify that dynamic changes to a Grid Column's dataField correctly update the internal columnPositions map without breaking the collection's sort order.

Context

This test reproduces the regression found in #9195 where updating a column key caused it to be moved to the end of the collection, breaking the Grid's virtualization logic.

tobiu added the testing label on Feb 17, 2026, 3:18 PM
tobiu added the core label on Feb 17, 2026, 3:18 PM
tobiu added parent issue #9194 on Feb 17, 2026, 3:18 PM
tobiu
tobiu Feb 17, 2026, 3:19 PM

Input from Gemini 3 Pro:

✦ Added unit test test/playwright/unit/grid/DynamicColumn.spec.mjs. This test reproduced the sort-order corruption bug and verified the fix.

tobiu closed this issue on Feb 17, 2026, 3:19 PM
tobiu assigned to @tobiu on Feb 17, 2026, 3:21 PM
tobiu referenced in commit 984b176 - "test(grid): Add regression test for dynamic column updates (#9197)" on Feb 17, 2026, 3:22 PM