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
Nope. Looking at this several years later, this does not seem very important IMO 😅 The text content handler would be nice but the first one doesn't seem to have any benefits over getByTestId unless there's something I'm missing...
what is the best way of asserting that an element is in the DOM without having the .toBeInTheDOM() function at hand?
await getByTestId(container, 'greetings') is my preferred pick for a nice error message with surrounding context.
while technically not part of
dom-testing-library
it'd be nice to offer the same convenience expectations. Maybe this belongs in jest-puppeteer?The text was updated successfully, but these errors were encountered: