Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[DomCrawler] Check all matching elements in test assertions instead of only the first #36158
@arneee reported in the docs repository that the
Meanwhile, I couldn't resist updating the tests a bit to use a data provider, instead of testing 3 things within one single test method.
Yes, agreed. It can't be done without breaking.
I would love to have better assertions for contains and same as a feature though, I don't think their current behavior makes sense. However, I'm not going to work on it. So anyone should feel free to start a PR :)