Skip to content
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

doc: wrapper.findAllComponents and wrapper.getComponent accept querySelector in docs #989

Closed
PotatoesFall opened this issue Oct 1, 2021 · 1 comment

Comments

@PotatoesFall
Copy link

https://github.com/vuejs/vue-test-utils-next/blob/master/docs/api/index.md?plain=1#L1187
https://github.com/vuejs/vue-test-utils-next/blob/master/docs/api/index.md?plain=1#L1284

However this syntax doesn't seem to actually be allowed. Is the desired behavior to also accept querySelector i.e. strings? or is the documentation out of date? What is the correct way to find a component with a querySelector?

@xanf
Copy link
Collaborator

xanf commented Oct 2, 2021

Hi, @PotatoesFall, thank you for reporting that

We've had some discussion in #904 and are going to re-instantiate an ability to find component with CSS selector. I'll close this one in favor of that issue

@xanf xanf closed this as completed Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants