Frontmatter
| id | 9197 |
| title | Add Regression Test for Dynamic Grid Columns |
| state | Closed |
| labels | testingcore |
| assignees | tobiu |
| createdAt | Feb 17, 2026, 3:18 PM |
| updatedAt | Feb 17, 2026, 3:21 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9197 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9194 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 17, 2026, 3:19 PM |
Add Regression Test for Dynamic Grid Columns
tobiu added parent issue #9194 on Feb 17, 2026, 3:18 PM

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
Objective
Add a unit test (
test/playwright/unit/grid/DynamicColumn.spec.mjs) to verify that dynamic changes to a Grid Column'sdataFieldcorrectly update the internalcolumnPositionsmap 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.