-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fire event type is not updating the redux form store value with latest version of react-testing-library #639
Comments
Hi @nanivijay, I'm pretty sure this is related to this issue: testing-library/user-event#316 |
@all-contributors please add @nanivijay for bugs |
I've put up a pull request to add @nanivijay! 🎉 |
Thanks :) |
🎉 This issue has been resolved in version 11.3.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
@kentcdodds issue is still happening with the latest version of user-event library. here is the codesandbox url |
Hi @nanivijay, Sorry about that. I looked at it and there's a lot of moving parts in there it's hard for me to determine what the problem is. Could you do a little more digging please? Try to isolate the problem further? |
@kentcdodds sure i will do |
@kentcdodds during my investigation i found that the issue starts happening from @testing-library/dom - 7.9.0 . I updated the example to use fire event instead of userevent. fireevent was working till version 7.8.0. i looked at the change in v7.9.0 i didn't find any breaking change but you may have more context on the change. please take a look at this codebox https://codesandbox.io/s/basic-react-testing-library-w-setuptestsjs-u3lx8?file=/src/Sample.test.js |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
anyone get a chance to investigate this issue. This is currently blocking us to upgrade the @testing-library. i tried to identify the cause but couldn't be able to figure out. please help |
Not seeing this anymore with the latest version |
@testing-library/react
version: 10.2.1@testing-library/user-event
version: 11.2.1Jest v24
Relevant code or config:
What you did:
Unit testing redux form field change event
What happened:
Redux form field value is not updated in store
Reproduction:
Issue is happening in the below code
https://codesandbox.io/s/basic-react-testing-library-w-setuptestsjs-skclz?file=/src/Sample.test.js:0-2582
Issue is not happening with the older versions of libraries
https://codesandbox.io/s/basic-react-testing-library-w-setuptestsjs-u3lx8?file=/src/Sample.test.js
Problem description:
Store is not updated with the new value
Please help me what could be wrong here.
Thanks
The text was updated successfully, but these errors were encountered: