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
I assumed that the context is "Test fails if getByText does not find the element it is looking for.
" instead of "Text fails if getByText does not find the element it is looking for."
Text fails if _getByText_ does not find the element it is looking for.
131
+
Test fails if _getByText_ does not find the element it is looking for.
132
132
133
133
We could also use [CSS-selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) to find rendered elements by using the method [querySelector](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector) of the object [container](https://testing-library.com/docs/react-testing-library/api/#containerr) that is one of the fields returned by the render:
0 commit comments