Can not use @testing-library/user-event with conform 1.0.4 #531
Unanswered
martialanouman
asked this question in
Q&A
Replies: 2 comments 9 replies
-
It looks like the issue comes from |
Beta Was this translation helpful? Give feedback.
1 reply
-
hi @edmundhung , The submit event is dispatched by form#form-id instead of form#form-id The form is inside a Dialog comp. (See here Dialog) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I ran into a strange issue will writing test for a react component containing a form powered with conform.
When a try to interact with an input or the submit button i have the following error:
I'm using the latest version of @testing-library/user-event
14.5.2
.Maybe im doing something wrong.
Test code:
LoginForm component
Beta Was this translation helpful? Give feedback.
All reactions