-
Notifications
You must be signed in to change notification settings - Fork 469
allow queryAllByText to select text nodes text content #209
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
allow queryAllByText to select text nodes text content #209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet 💯
@all-contributors please add @tylerthehaas for code and tests |
I've put up a pull request to add @tylerthehaas! 🎉 |
🎉 This PR is included in version 3.16.6 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
After this was merged, I'm getting Update: I can confirm it was this change. I edited my package json to force it to resolve My cypress test's use of this library is a mere |
Hmmmm.. could you figure out what's going on? Maybe we need to just do a typeof check? |
I'll try to carve out time to attempt to create a minimal reproduction repo, if no one has a brilliant idea before I can do that. I initially suspected this |
The issue here is that cypress testing library is passing the document as the container. We should be able to do a check to make sure that |
Agreed 👍 |
|
I've got a working fix for this, with a new test case that would fail. I'll create a PR shortly EDIT: See #213 for a fix |
closes issue #207