-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
[Capybara/SpecificMatcher] False-positive when using regex #82
Comments
It also has false-positive issues in expectations that include CSS class names. It seems that |
@svegaca - hm, I have to following in my tests: expect(page).to have_button(class: 'btn-close') Are you saying that this doesn't work? It seems to pass. 😄 |
Yes, it fails for me using |
Well, it passes |
Ah! I'm sorry, it works and supports |
This should not trigger the
Capybara/SpecificMatcher
because there is no way to write this withhave_button
. Same applies fortext
with regex in addition toexact_text
.The text was updated successfully, but these errors were encountered: