How tou use NextUI components with react-testing library #4376
Unanswered
pacoorozco
asked this question in
Q&A
Replies: 1 comment
-
I having the same issue. I'm using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm having a lot of troubles to use NextUI components when testing. Imagine you have a form which uses NextUI components and you want to test that the form behaves as expected. I'm using
vitest
andreact-testing
library to implement the tests.One of the most problematic components is
<AutoComplete>
. I would like to be able to select one of the options when testing and submit the form, but it's very tricky. The way I was using in the previous version 2.4 is not working anymore in version 2.6.8. How do you suggest to set values when testing?Beta Was this translation helpful? Give feedback.
All reactions