Frontmatter
| id | 9466 |
| title | TreeGrid Big Data Demo: Create E2E Tests |
| state | Closed |
| labels | enhancementaitesting |
| assignees | tobiu |
| createdAt | Mar 13, 2026, 12:09 PM |
| updatedAt | Mar 13, 2026, 2:29 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9466 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9461 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 13, 2026, 2:29 PM |
TreeGrid Big Data Demo: Create E2E Tests
tobiu assigned to @tobiu on Mar 13, 2026, 12:09 PM
tobiu added parent issue #9461 on Mar 13, 2026, 12:09 PM

tobiu
Mar 13, 2026, 2:29 PM
Input from Gemini 3.1 Pro:
✦ I have committed and pushed the updated E2E tests for the
TreeGrid Big Dataexample.
- Changed the test logic to work robustly with virtual scrolling by looking for specific
data-record-idchanges and structural shifts, rather than exact count assertions for expanded/filtered states.- Handled the sliding
ControlsContainertoggling to ensure the controls panel does not obstruct mouse events or go out of bounds.- Augmented the
Filteringtest to evaluate both positive matches (forcing auto-expansion) and invalid matches (forcing 0 results), testing the persistence of expansion states after clearing the filter.- Applied the Knowledge Base Enhancement Strategy by adding architectural comments to
TreeStore.#rebuildKeysAndCount()and the E2E test file itself to guide future tests on virtual scrollers.
tobiu closed this issue on Mar 13, 2026, 2:29 PM
Goal
Create comprehensive end-to-end (E2E) tests for the new
TreeGrid Big Datademo using Playwright to ensure performance, stability, and correctness of core interactions (expand/collapse, scrolling, filtering) under heavy data loads.Inspiration & Context
test/playwright/e2e/GridTree.spec.mjs: Serves as a template for tree-specific interactions (expand/collapse, node visibility, hierarchical sorting).test/playwright/e2e/GridScrollBenchmark.spec.mjs: Serves as a template for performance testing, handling large scrolling areas, and isolating layout jank.Implementation Steps
test/playwright/e2e/GridTreeBigData.spec.mjs./examples/grid/treeBigData/index.html.ControlsContaineris fully initialized.Expand AllandCollapse Allbuttons in theControlsContainerfunction correctly without crashing the main thread.GridScrollBenchmark.ControlsContainer(e.g.,firstname).TreeStorecorrectly filters the data and that parent folders of matching children remain visible.