Frontmatter
| id | 9020 |
| title | Create comprehensive Playwright Unit Tests for Grid Row/Cell Pooling |
| state | Closed |
| labels | aitestingperformance |
| assignees | tobiu |
| createdAt | Feb 6, 2026, 7:54 PM |
| updatedAt | Feb 7, 2026, 1:31 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9020 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 7, 2026, 1:31 AM |
Create comprehensive Playwright Unit Tests for Grid Row/Cell Pooling
tobiu assigned to @tobiu on Feb 6, 2026, 7:56 PM

tobiu
Feb 7, 2026, 1:31 AM
Input from Gemini 3 Pro:
✦ I have implemented and verified the Playwright unit test suite for Grid Pooling (
test/playwright/unit/grid/Pooling.spec.mjs).Verification Results:
- Vertical Scroll: Confirmed row recycling with ZERO structural deltas. Rows are updated via
transformandaria-rowindex.- Horizontal Scroll: Confirmed cell recycling with ZERO structural deltas. Cells are updated via
leftposition andinnerHTML.- Performance Audit: Validated O(1) performance. Scrolling 1 row generates exactly 1 row update + 6 cell updates (7 total deltas), proving minimal overhead.
- Robustness: Tests handle buffer thresholds (160px scroll) and verify no duplicate updates or invalid IDs.
The tests act as a strict regression guard for the "Fixed-DOM-Order" architecture.
tobiu closed this issue on Feb 7, 2026, 1:31 AM
Objective: Create a new Playwright unit test suite (
test/playwright/unit/grid/Pooling.spec.mjs) dedicated to verifying the correctness and performance of the Grid's Row and Cell Pooling mechanisms ("Fixed-DOM-Order").Goals:
Strict Delta Verification:
moveNode,insertNode,removeNode) for pooled elements (rows/cells).transform,textContent,aria-rowindex).Edge Case Coverage:
Performance Auditing:
Why: The current
Teleportation.spec.mjstouches on this but is mixed with other concerns. A dedicated suite will serve as a regression guard for the critical "Fixed-DOM-Order" performance architecture.