-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Id selector not working when combined with a tag selector #314
Labels
Comments
FWIW, using id's is an anti-pattern in react since it breaks re-usability with w3c DOM validation. |
Thanks @blainekasten. |
nfpiche
pushed a commit
to nfpiche/enzyme
that referenced
this issue
May 12, 2016
aweary
added a commit
that referenced
this issue
May 12, 2016
Id selector not working when combined with a tag selector (#314)
The fix is merged two months ago, can it be closed? |
@havenchyk yupp, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been trying to get the following unit test code to work:
But the
find
method is not finding anything. It is able to find the input box just fine withinput
as the selector and with#myid
as the selector, but not when I specify both.I'm using Enzyme v2.2.0.
The text was updated successfully, but these errors were encountered: