-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DomCrawler][FrameworkBundle] Add assertAnySelectorText*
#50306
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
Conversation
43c800e
to
511dcd7
Compare
The failing tests seems unrelated to this PR (related to the Notifier component).
What is the correct fix here ? Should this errors be added to the Psalm baseline ? |
Instead of |
Sure, I get what you meant here. |
Our CI generates a baseline automatically for each run, so that it complains only about new issues. |
Ok, so I guess you want it to be fixed for this PR and another PR can fix it for the other constraints ? |
indeed |
@stof Psalm errors are fixed now, let me now if you want me to make other changes. |
17dcdb0
to
94eca69
Compare
837192c
to
35c7b33
Compare
35c7b33
to
98ebda2
Compare
Thank you @SVillette. |
As mentioned in #48213, it can be useful to check that any selector contains/equals a string. But the current
assertSelectorTextSame
andassertSelectorTextContains
only assert with the first selector.Before this PR, the solution was
And after this changes
A doc PR will be made if the changes are accepted