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
The JUnit report incorrectly increments both the "errors" and "failures" counts when a test case fails. Seems, failures and errors are being treated similarly - link
What is your expected behavior?
Only the "failures" count should increase for failed tests. JUnit reports typically distinguish between errors (unexpected exceptions) and failures (asserted conditions not met).
We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
8.32.4
Node.js Version
20
Mode
WDIO Testrunner
Which capabilities are you using?
NA
What happened?
The JUnit report incorrectly increments both the "errors" and "failures" counts when a test case fails. Seems, failures and errors are being treated similarly - link
What is your expected behavior?
Only the "failures" count should increase for failed tests. JUnit reports typically distinguish between errors (unexpected exceptions) and failures (asserted conditions not met).
JUnit Schema Links
How to reproduce the bug.
Test Case Expected Output Reference
Relevant log output
NA
Code of Conduct
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: