This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[Bug]: userEvent.click(elem) injects ["_constructor-name_"] into element object #24968
Labels
You can continue the conversation there. Go to discussion →
Describe the bug
Calling
userEvent.click(inputElement)
causes inputElement object (and related objects) being injected with and_constructor-name_
property.including parentElement and related objects
This breaks and messes our code that relies on certain properties and object structure (like NodeList).
Is there any way to disable this type of injection?
To Reproduce
System
Additional context
No response
The text was updated successfully, but these errors were encountered: