testing-library/react-testing-library
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
JavaScriptMIT
Pinned issues
Issues
- 0
Test warns that I need to use `act` for user actions, then warns act is not configured if I do
#1418 opened by viveleroi - 0
Unable to getByRole figure with accessible name / description in figcaption
#1417 opened by Mboulianne - 3
`waitFor` utils are not wrapped in `act` so some state updates are not applied to the DOM
#1416 opened by dyantako - 0
React 19 - Objects are not valid as a React child
#1415 opened by emgdevteam - 2
Render doesn't render the same result in react 19
#1408 opened by michielmetcake - 0
Test based on `findByText` assertion fails after 551ms, despite default timeout being 1000ms
#1414 opened by jgarplind - 31
@testing-library/react behaves differently when dealing with Suspense in React 18 and React 19
#1375 opened by 0xc14m1z - 0
React act() warning persists with latest versions (React 18.3.1 + RTL 16.3.0 + Vitest 2.1.0)
#1413 opened by nsxdavid - 3
Support for React.cache function
#1407 opened by fbjaras - 7
`render` does not `await act()`
#1385 opened by nstepien - 4
Having `afterEach(cleanup)` in the test setup file breaks exported `screen` module on Bun test
#1348 opened by hmidmrii - 3
Error: Objects are not valid as a React child ...
#1387 opened by jay-linumlabs - 0
- 0
Id selector square brackets not escaped correctly
#1404 opened by denniske - 1
findDOMNode appears to still be used, despite it being removed in React 19.
#1400 opened by MarcusWebDev - 1
React.act is not a function
#1399 opened by ziimakc - 3
Support Node.js fake timers
#1393 opened by avivkeller - 1
- 2
- 3
Tests failing when run in parallel
#1395 opened by mintydev789 - 1
- 2
React.act is not a function in vitest
#1392 opened by punkpeye - 6
- 8
renderHook support for multiple parameters
#1350 opened by danielrentz - 1
How to test functions inside functional component and also using hooks values
#1382 opened by MimoJSRepo - 4
- 0
How test react component reaction to mocked Zustand store using Vitest and React Testing Library?
#1381 opened by MimoJSRepo - 1
Where can I find the old version docs?
#1380 opened by filefoxper - 4
React19 - Document Metadata feature
#1379 opened by JavierScars - 1
userEvent.keyboard('{Enter}') does not trigger form submission in forms with radio group elements
#1378 opened by vinothkumar-tw - 13
Support for React 19
#1364 opened by rolandjitsu - 1
- 3
- 2
- 3
wrapper context is not shared with `renderHook`
#1344 opened by githorse - 5
Tests fail with React 19 | Error: Uncaught [Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, _store}). If you meant to render a collection of children, use an array instead.]
#1371 opened by kolorfilm - 2
16.1.0 breaks tests using React 18
#1369 opened by gismya - 1
React test with typescript throws `TypeError: Cannot read properties of undefined (reading 'S')`
#1370 opened by ahuigo - 1
- 4
- 6
- 1
how to imprement with react-hook-form
#1362 opened by shipcake - 2
byText not finding element
#1355 opened by RedX2501 - 1
Can not find createPortal from React DOM
#1356 opened by Myllaume - 2
dispatching of events from rendered components
#1357 opened by southbeach - 1
*ByRole "status" for <output/> element doesn't handle name attribute correctly
#1359 opened by Yimiprod - 4
unable to Find Element by data-testid After Component Re-render in React Testing Library
#1358 opened by EhsanKey - 1
- 3
Args mapping does not work on composed story from Storybook after Storybook update from 7 to 8
#1345 opened by quarhodron - 7
Tests using `render` sigificantly slow down in React 19
#1342 opened by phryneas