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
{{ message }}
This repository was archived by the owner on May 27, 2026. It is now read-only.
[Windows 7, Firefox 45.0] Error: "my todo test" failed
Expected: true
Actual: false
Details
This is happening because when browserstack-runner is consuming the testEnd event from js-reporters, it is ignoring the status field. Instead of only priting formatted errors for query.test.status === "failed", it is instead iterating over query.test.errors and always print each one as a formatted error, even if it is an expected error (such as the case with a "todo" test).
Here is the test suite for the linked example in the browser visually (passing):
And here is what browserstack-runner report for that same build (failing):
Expected Behavior
Passing test.
Actual Behavior
Details
This is happening because when browserstack-runner is consuming the
testEndevent from js-reporters, it is ignoring thestatusfield. Instead of only priting formatted errors forquery.test.status === "failed", it is instead iterating overquery.test.errorsand always print each one as a formatted error, even if it is an expected error (such as the case with a "todo" test).Here is the test suite for the linked example in the browser visually (passing):

And here is what browserstack-runner report for that same build (failing):
https://github.com/qunitjs/qunit/runs/2753071016