LearnNewsExamplesServices
Frontmatter
id8089
titleAdd tests for Custom VDOM Root DOM Events
stateClosed
labels
aitesting
assigneestobiu
createdAtDec 11, 2025, 3:23 PM
updatedAtDec 11, 2025, 3:34 PM
githubUrlhttps://github.com/neomjs/neo/issues/8089
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 11, 2025, 3:34 PM

Add tests for Custom VDOM Root DOM Events

Closed v11.17.0 aitesting
tobiu
tobiu commented on Dec 11, 2025, 3:23 PM

Description

We need to add a new Playwright test suite to verify DOM event mapping for components with custom VDOM roots (wrapped components).

This ensures that:

  1. Events bubbling from the logical root (e.g. <button>) are correctly mapped to the component.
  2. Events originating from the physical wrapper node (e.g. <div> or <th>) are also correctly mapped to the component.
  3. Event delegation works correctly within these structures.

This test suite test/playwright/unit/manager/domEvent/CustomVdomRoot.spec.mjs was created during the fix for #8088 and should be permanently added to the repository to prevent regressions.

Tasks

  • Create test/playwright/unit/manager/domEvent/CustomVdomRoot.spec.mjs
  • Verify tests pass
tobiu added the ai label on Dec 11, 2025, 3:23 PM
tobiu added the testing label on Dec 11, 2025, 3:23 PM
tobiu assigned to @tobiu on Dec 11, 2025, 3:33 PM
tobiu referenced in commit e4e2603 - "Add tests for Custom VDOM Root DOM Events #8089" on Dec 11, 2025, 3:34 PM
tobiu closed this issue on Dec 11, 2025, 3:34 PM