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
[it] will search for all elements that have a text node with textContent matching the given TextMatch.
this is not true and will lead to confusion, since it's easy to find situations where trying to use getByText with the textContent of a node and not getting any match
To Reproduce
Here is a minimal codesandbox showing a case of getByText not matching the textContent of a node