Skip to content

Usage of exact option with *byRole queries #1192

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

Merged
merged 2 commits into from
Feb 3, 2023

Conversation

alleksei37
Copy link
Contributor

Added a note about using exact option with *byRole queries to enable fuzzy matching. Please see details of the issue here:
testing-library/dom-testing-library#1157
Users may expect to use exact: false for substring matching whereas it doesn't affect the way of filtering out DOM nodes by accessible names.

Added a note about using `exact` option with *byRole queries to enable fuzzy matching.
Please see details of the issue here:
testing-library/dom-testing-library#1157
Users may expect to use `exact: false` for substring matching whereas it doesn't affect the way of filtering out DOM nodes by accessible names.
@netlify
Copy link

netlify bot commented Dec 16, 2022

Deploy Preview for testing-library ready!

Name Link
🔨 Latest commit da0358b
🔍 Latest deploy log https://app.netlify.com/sites/testing-library/deploys/63dcab99d93f8b0008153c52
😎 Deploy Preview https://deploy-preview-1192--testing-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Co-authored-by: Tim Deschryver <[email protected]>
@timdeschryver timdeschryver merged commit b339077 into testing-library:main Feb 3, 2023
@timdeschryver
Copy link
Member

@all-contributors please add @alleksei37 for docs

@allcontributors
Copy link
Contributor

@timdeschryver

I've put up a pull request to add @alleksei37! 🎉

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

Successfully merging this pull request may close these issues.

2 participants