You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am viewing my HTML Test Report. The test has failed because of an Exception in the VisualCeption module, which throws an error instead of a 'test failure'. I expect the filtering toolbar to reflect the fact that there has been a failure / error.
What do you get instead?
The filtering toolbar can be used to only show failures, which includes both failures and errors. But, only the failures are counted towards the total.
Details
Codeception version: 5.0.12 (the same is also present in 5.1.0)
I would argue that there are a few possible fixes for this, and I honestly don't really care which way it's solved:
Simply add the total amount of errors to the total amount of failures in the filtering bar.
Add a separate 'errors' count, and make sure that the filtering behavior is changed so that failures don't include errors, and errors don't include failures.
It seems to me that the relevant files to change are the following:
HtmlReporter.php
scenarios.html.dist
I'm happy to implement a change for this myself if any maintainers could chip in on what they think is best.
What are you trying to achieve?
I am viewing my HTML Test Report. The test has failed because of an Exception in the VisualCeption module, which throws an error instead of a 'test failure'. I expect the filtering toolbar to reflect the fact that there has been a failure / error.
What do you get instead?
The filtering toolbar can be used to only show failures, which includes both failures and errors. But, only the failures are counted towards the total.
Details
I have omitted the application suite and the composer show, as they don't seem relevant.
The text was updated successfully, but these errors were encountered: