Closed
Description
The current render
behavior returns the root div that the ReactDOM.render() call uses (unless certain options are passed). This makes it hard to test dialogs, modals, tooltips, etc. - you have to use within
or use imported DTL queries with a custom node argument to grab the elements. I wonder if this behavior is creating more indirection than is warranted - everyone should be cleaning up the DOM between tests so returning isolated nodes doesn't really prevent any problems.
Metadata
Metadata
Assignees
Labels
No labels