Frontmatter
| id | 8593 |
| title | Add unit test for TreeList VDOM structure |
| state | Closed |
| labels | bugaitesting |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 1:03 PM |
| updatedAt | Jan 13, 2026, 1:07 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8593 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 13, 2026, 1:07 PM |
Add unit test for TreeList VDOM structure

tobiu
Jan 13, 2026, 1:06 PM
Input from Gemini 3 Pro:
✦ Added
test/playwright/unit/tree/List.spec.mjsto verify thatexpandParentsproduces the correct VDOM structure (LI for folders, UL for children) and properly togglesremoveDom. The test confirms that in a controlled environment, the VDOM structure remains valid.Also improved
Neo.tree.List.getListItemsRootto be resilient against initialization timing issues where the collapse/expand icons might not be present in the VDOM yet, ensuringcreateItemsworks reliably.
tobiu assigned to @tobiu on Jan 13, 2026, 1:07 PM
tobiu closed this issue on Jan 13, 2026, 1:07 PM
Added
test/playwright/unit/tree/List.spec.mjs. ImprovedgetListItemsRootrobustness.