Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / testing-library/react-testing-library issues and pull requests

#1189 - render a react component for testing does not work with React 18

Issue - State: closed - Opened by reinertisa almost 2 years ago - 1 comment

#1188 - Can we have chaining for the element selectors?

Issue - State: closed - Opened by tw-anoopjadhav almost 2 years ago - 4 comments

#1187 - Support sinon fake timers

Issue - State: open - Opened by thatsmydoing almost 2 years ago - 3 comments

#1186 - test fails in interaction simulation

Issue - State: closed - Opened by devmanbr almost 2 years ago - 3 comments
Labels: jsdom

#1185 - Create Kontrolle SECURITY.md

Pull Request - State: closed - Opened by Dadudidas almost 2 years ago - 1 comment

#1184 - Type conflicts in testing-library vs react

Issue - State: closed - Opened by ErinGreenhalgh almost 2 years ago - 5 comments
Labels: bug, BREAKING CHANGE

#1181 - Event data undefined when using fireEvent.change

Issue - State: closed - Opened by Mic1e almost 2 years ago - 2 comments

#1179 - useContext return null

Issue - State: closed - Opened by xiaokesong almost 2 years ago - 7 comments
Labels: needs more information

#1178 - release: 14.0.0

Pull Request - State: closed - Opened by eps1lon about 2 years ago - 1 comment

#1177 - feat: Bump `@testing-library/dom` to 9.0.0

Pull Request - State: closed - Opened by eps1lon about 2 years ago - 2 comments

#1176 - chore: Allow semantic-release to post updates in issues

Pull Request - State: closed - Opened by eps1lon about 2 years ago - 1 comment

#1175 - window env variables are not not accessible while running component test

Issue - State: closed - Opened by Rk1131 about 2 years ago - 1 comment

#1174 - Kontrolle

Pull Request - State: closed - Opened by Dadudidas about 2 years ago - 1 comment

#1173 - Kontrolle

Pull Request - State: closed - Opened by Dadudidas about 2 years ago - 1 comment

#1171 - fireEvent does not trigger onLoad event of form component

Issue - State: closed - Opened by komarovalexander about 2 years ago - 2 comments
Labels: needs more information

#1170 - Bump kcd-scripts to 13.0.0

Pull Request - State: closed - Opened by eps1lon about 2 years ago - 2 comments

#1169 - feat: Drop support for Node.js 12.x

Pull Request - State: closed - Opened by eps1lon about 2 years ago - 2 comments
Labels: BREAKING CHANGE

#1168 - Implementation an autofix flag for throwSuggestions

Issue - State: open - Opened by SimonGodefroid about 2 years ago - 2 comments

#1167 - Add option to enable strict mode render needs discussion

Issue - State: closed - Opened by 1cmasson about 2 years ago

#1166 - React.createRef is not a function at renderHook

Issue - State: closed - Opened by raualvron about 2 years ago - 1 comment

#1165 - TypeError: Failed to execute 'createTreeWalker' on 'Document': parameter 1 is not of type 'Node'.

Issue - State: closed - Opened by maxi-groldan about 2 years ago - 3 comments
Labels: needs more information

#1164 - Supplying wrapper component doesn't allow testing hooks that use mobx observables

Issue - State: closed - Opened by sethreidnz about 2 years ago - 5 comments
Labels: bug

#1163 - Allow `renderHook` re-renders to passes down the new props to the wrapper.

Issue - State: closed - Opened by messaooudi about 2 years ago - 1 comment

#1162 - GitHub Workflows security hardening

Pull Request - State: closed - Opened by sashashura about 2 years ago - 3 comments

#1161 - FakeTimes problem when upgrading jest 25 to 29

Issue - State: closed - Opened by Okyaaa about 2 years ago - 5 comments
Labels: needs more information

#1160 - getByText not working for multiline text

Issue - State: open - Opened by sbland about 2 years ago - 2 comments

#1159 - Different DOM upon rendering same component in 2 or more tests

Issue - State: closed - Opened by Rasikh-DMio about 2 years ago - 4 comments
Labels: needs more information

#1158 - Doesn't work well with NextJs v13 next/image

Issue - State: closed - Opened by soulbeing about 2 years ago - 3 comments

#1157 - issue in react testing library + MSW+ Redux + Thunk

Issue - State: closed - Opened by nitinmagdumvista about 2 years ago - 1 comment

#1156 - Filter by description on findByLabel for password input tests

Issue - State: open - Opened by e-compton about 2 years ago - 1 comment

#1155 - act() now return always a Promise

Issue - State: closed - Opened by GOI17 about 2 years ago - 8 comments

#1152 - Support `beforeInput` event

Issue - State: open - Opened by zombieJ over 2 years ago - 4 comments
Labels: needs more information

#1149 - Timed out in waitFor.

Issue - State: closed - Opened by Hr-new over 2 years ago - 6 comments
Labels: needs more information

#1145 - waitForNextUpdate() Missing in react testing library RenderHookResult

Issue - State: closed - Opened by naajil-aamir over 2 years ago - 1 comment

#1144 - testing custom hook within a component scope throws TypeError not a function

Issue - State: open - Opened by AhmedSarhanSwvl over 2 years ago - 4 comments
Labels: question

#1143 - fix: Pass initialProps to wrapper component

Pull Request - State: closed - Opened by no-yan over 2 years ago - 3 comments

#1139 - test: Fail on unexpected console.warn and console.error

Pull Request - State: closed - Opened by eps1lon over 2 years ago - 2 comments

#1137 - fix: Prevent "missing act" warning for queued microtasks

Pull Request - State: closed - Opened by eps1lon over 2 years ago - 9 comments

#1130 - `createEvent.keyDown` does not set `key`

Issue - State: closed - Opened by zyqxd over 2 years ago - 2 comments

#1125 - post-upgrade, unexpected `act` warning with `findBy` queries (includes repro)

Issue - State: closed - Opened by trv-wcaneira over 2 years ago - 1 comment
Labels: bug

#1122 - Fails to cleanup dom after test causing test bleeding

Issue - State: closed - Opened by brianHaleyEmpire over 2 years ago - 2 comments
Labels: needs more information

#1120 - renderHook Server

Issue - State: open - Opened by childrentime over 2 years ago - 24 comments
Labels: question

#1116 - Jest's afterEach(cleanup) when rendering svg's causes Error: Uncaught [TypeError: this.node.getScreenCTM is not a function]

Issue - State: closed - Opened by rodpatulski over 2 years ago - 8 comments
Labels: needs more information

#1113 - `RenderHookResult` doesn't match return value of `renderHook`

Issue - State: closed - Opened by mattbrandlysonos over 2 years ago - 7 comments
Labels: needs more information

#1108 - Bug: global.IS_REACT_ACT_ENVIRONMENT = false does not disable missing act warnings

Issue - State: open - Opened by anilanar over 2 years ago - 9 comments
Labels: needs more information

#1103 - @testing-library/dom should be a peer dependency

Issue - State: closed - Opened by magnattic over 2 years ago - 6 comments
Labels: needs more information

#1101 - No `waitForNextUpdate` ?

Issue - State: closed - Opened by kamilzielinskidev over 2 years ago - 8 comments

#1097 - fix: Run render queries in the render container only

Pull Request - State: closed - Opened by Floby over 2 years ago - 3 comments

#1068 - Exception in event handler always results in test failure

Issue - State: closed - Opened by stefee almost 3 years ago - 14 comments
Labels: needs more information

#1064 - actImplementation is not a function

Issue - State: closed - Opened by michalstrzelecki almost 3 years ago - 13 comments

#1061 - The current testing environment is not configured to support act(...) with vitest and React 18

Issue - State: closed - Opened by MarkLyck almost 3 years ago - 25 comments
Labels: needs discussion

#1055 - TypeError: (0 , _dom.configure) is not a function

Issue - State: closed - Opened by jonaohana almost 3 years ago - 8 comments
Labels: needs more information

#1051 - React 18. set state in finally throws "act" warning, though test is passing

Issue - State: closed - Opened by JoeyAtSS almost 3 years ago - 32 comments
Labels: bug

#1034 - Support SVGR with React 18, Next and Jest

Issue - State: closed - Opened by dkacper almost 3 years ago - 4 comments
Labels: needs more information

#974 - Log from .logTestingPlaygroundURL is to big and not working

Issue - State: open - Opened by balboFK over 3 years ago - 18 comments

#951 - Mocked function being called, but not being called?

Issue - State: closed - Opened by rnnyrk over 3 years ago - 8 comments

#908 - Using fireEvent.change() on a select element fires the event handler, but doesn't update state.

Issue - State: open - Opened by Taelkir almost 4 years ago - 14 comments
Labels: bug

#865 - Flaky tests: Asynchronous queries can return unmounted elements

Issue - State: open - Opened by AriPerkkio about 4 years ago - 17 comments
Labels: needs discussion

#865 - Flaky tests: Asynchronous queries can return unmounted elements

Issue - State: open - Opened by AriPerkkio about 4 years ago - 18 comments
Labels: needs discussion

#859 - Is it possible to render a component and do some tests between useLayoutEffect and useEffect

Issue - State: closed - Opened by leobastiani about 4 years ago - 14 comments
Labels: enhancement

#849 - Simulate fast-refresh

Issue - State: closed - Opened by smmoosavi about 4 years ago - 8 comments
Labels: enhancement

#830 - React Testing Library API types prevent usage of SVG elements

Issue - State: closed - Opened by joebobmiles over 4 years ago - 15 comments
Labels: TypeScript

#828 - Allow testing of errors thrown after render

Issue - State: closed - Opened by lorensr over 4 years ago - 14 comments
Labels: question

#818 - render unexpectedly returns <body> <div /> </body>

Issue - State: closed - Opened by NoMaillard over 4 years ago - 11 comments

#745 - dynamic imported React.lazy component using hooks throws 'Invalid hook call'

Issue - State: closed - Opened by li-yifei over 4 years ago - 8 comments
Labels: needs investigation

#729 - Submit event handler fires even if form is invalid

Issue - State: closed - Opened by marcgarygray over 4 years ago - 8 comments
Labels: jsdom

#716 - Previous render sometimes leaking into next test

Issue - State: closed - Opened by ljosberinn over 4 years ago - 39 comments
Labels: bug

#681 - AfterEach Cleanup not working

Issue - State: closed - Opened by samuk190 over 4 years ago - 4 comments

#681 - AfterEach Cleanup not working

Issue - State: closed - Opened by samuk190 over 4 years ago - 4 comments

#669 - Deno support

Issue - State: closed - Opened by kirillgroshkov almost 5 years ago - 8 comments

#661 - TypeError Cannot read property 'body' of null

Issue - State: closed - Opened by AvraamMavridis almost 5 years ago - 14 comments

#634 - How to do Custom Render with typescript

Issue - State: closed - Opened by ZhouHansen almost 5 years ago - 7 comments

#629 - container.querySelector always returns null

Issue - State: closed - Opened by mhuggins almost 5 years ago - 10 comments

#606 - getByRole('textbox') cannot find <input /> html element in v9.5.0

Issue - State: closed - Opened by laij84 almost 5 years ago - 8 comments

#572 - mock preventDefault

Issue - State: closed - Opened by benmonro about 5 years ago - 9 comments

#565 - Problem testing modal on button click

Issue - State: closed - Opened by aatifbandey about 5 years ago - 6 comments

#562 - Problem testing popover element still exists in DOM.

Issue - State: closed - Opened by MarceloBonifazio about 5 years ago - 10 comments

#561 - SSR component testing

Issue - State: closed - Opened by ruhaise about 5 years ago - 20 comments
Labels: needs discussion

#541 - BeforeAll not usable to render the component once

Issue - State: closed - Opened by massimilianokraus about 5 years ago - 4 comments

#532 - Onchange event not being fired when using fireEvent.change

Issue - State: closed - Opened by jamesBennett over 5 years ago - 21 comments
Labels: bug, needs investigation

#509 - Support for React 18

Issue - State: closed - Opened by danielkcz over 5 years ago - 43 comments

#503 - The debug command is not printing the entire component.

Issue - State: closed - Opened by felipediogo over 5 years ago - 13 comments

#479 - Babel plugin to remove `data-testid`

Issue - State: closed - Opened by ematipico over 5 years ago - 11 comments

#472 - Cannot find module '@testing-library/react'.ts(2307)

Issue - State: closed - Opened by wolverineks over 5 years ago - 19 comments

#459 - Suppressing react-dom act warning

Issue - State: closed - Opened by robcaldecottvelo over 5 years ago - 6 comments

#439 - TypeError: Cannot read property 'current' of undefined

Issue - State: closed - Opened by esovan over 5 years ago - 6 comments

#437 - fix(typescript): move typings to DefinitelyTyped

Pull Request - State: closed - Opened by alexkrolick over 5 years ago - 97 comments
Labels: TypeScript, released

#422 - ReferenceError: document is not defined

Issue - State: closed - Opened by liam61 over 5 years ago - 19 comments

#386 - Server side rendered component testing

Issue - State: closed - Opened by DylanPiercey over 5 years ago - 11 comments

#377 - The `data-testid` won't work if `div` isn't wrapped

Issue - State: closed - Opened by hyochan over 5 years ago - 14 comments