Skip to content
Discussion options

You must be logged in to vote

When you do screen.getByTestId('field') you're only getting the root div of the v-text-field component. You either need to further drill down and find the <input>, maybe with .querySelector('input'). Or use the getByLabelText function, as long as you have an id attribute on the v-text-field

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lucaspagliari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #17254 on May 04, 2023 13:39.