Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
incorrect steps shown when having multiple canXXX conditional assertion failures #3225
When using the conditional assertion canXXX and having multiple failures there's a problem where the console results only show the initial step where a fail occurred.
There's also an issue with the html report: Each failed step is correctly highlighted but the report only shows the details for the final fail.
Creating the following acceptance test FailsCept.php:
In the 'There were 3 failures:' section, each resulting fail after the first misreports the step that caused the fail: