.type doesn't work with vue-testing-library
See original GitHub issueHi! First of all, thank you for your work on this repo!
I wanted to highlight that the current implementation of .type()
isn’t working when used with vue-testing-library
.
Not quite sure why yet thou, I believe it has something to do with using fireEvent.change
instead of fireEvent.input
here. I have passing tests using fireEvent.input
, and the minute I change them to use .change
, they start failing. Is there any reason to prefer change event over input?
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (16 by maintainers)
Top Results From Across the Web
Vue3 Testing Library - vue-i18n not loading text - Stack Overflow
I am using the next version of @vue/test-utils and vue-jest ... schema for the resource type MessageSchema = typeof deDE export function ...
Read more >Testing Vue Applications With The Vue Testing Library
The Vue Testing library can help you to test your applications by mirroring the way that a user would interact with them.
Read more >Better testing with Vue Test Utils - 30 Days of Vue - Fullstack.io
Better testing with Vue Test Utils. #. Today, we'll look at Vue's official testing library called Vue Test Utils that makes testing fun...
Read more >Vue Testing with Vue Test Utils - YouTube
In this video we will cover Vue testing with Vue Test Utils which uses Jest under the hood.Timeline:0:00 - Setup10:37 - Test Structure17:15 ......
Read more >User Centric Tests with Testing Library - Vue.js Course
Interact with your app the same way as your users. Let's write some tests, and see how it compares to Vue Test Utils...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess this can be closed now 😃
@Gpx do you think you could review my 4 open PR’s pretty soon? I’d love to continue moving forward with making
user-event
compatible with all libraries 🎉@mxstbr Opened PR for that just now ✔️ https://github.com/testing-library/user-event/pull/141