-
-
Notifications
You must be signed in to change notification settings - Fork 202
Regression: Unit Test Failures in Teleportation.spec.mjs after #9200 #9210
Copy link
Copy link
Closed
Labels
Description
Unit tests in test/playwright/unit/grid/Teleportation.spec.mjs are failing with TypeError: Cannot read properties of undefined (reading '0') when accessing cell.cn[0].
This started happening after the introduction of Neo.grid.column.Component optimization (Issue #9200).
Hypothesis:
The optimization relies on record.version to short-circuit updates. If Teleportation.spec.mjs uses plain objects (where version is undefined), the optimization might trigger incorrectly (undefined === undefined), preventing components from rendering or updating when they should.
Objective:
- Investigate
Teleportation.spec.mjsto understand how it mocks data. - Fix
Neo.grid.column.Componentto handle cases whererecord.versionis undefined (fallback to standard update). - Ensure unit tests pass.
Reactions are currently unavailable