You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try this in v12, we get TypeError: s.elementFromPoint is not a function when trying to click on the target handle. Has there been some change in how edge connections are created when clicking on handles?
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Create one node with a source handle and another with a target handle
Assign each a data-testid
Using react-testing-library, get the sourceHandle and the targetHandle, e.g. const sourceHandle = screen.getByTestId('<some-data-testid');
Click on the sourceHandle and then the targetHandle, e,g:
Describe the Bug
When using
react-testing-library
in v11, we were able to test the creation of edge connections between nodes using this code:When we try this in v12, we get
TypeError: s.elementFromPoint is not a function
when trying to click on the target handle. Has there been some change in how edge connections are created when clicking on handles?Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
data-testid
react-testing-library
, get thesourceHandle
and thetargetHandle
, e.g.const sourceHandle = screen.getByTestId('<some-data-testid');
sourceHandle
and then thetargetHandle
, e,g:Expected behavior
As a user, I expected for an edge connection to be created and for the test to pass.
Screenshots or Videos
Platform
@testing-library/react v14.1.2
Additional context
No response
The text was updated successfully, but these errors were encountered: