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.
If a browser fails to spawn or a test fails in one of the browsers, the process should exit with code different than 0.
Actual Behavior
The process always exits with code 0.
Steps to Reproduce the Problem
git clone git@github.com:jquery/jquery-color.git
npm install
Now, modify one of the test cases in test/unit/color.js so that it fails, e.g. by changing one 255 to 254.
Run npm run browserstack; echo $?
You should see a failure & a number different than 0 as the last output. 0 is printed instead.
browserstack.json
Platform details
browserstack-runner version: 0.9.1
node version: v12.16.3
os type and version: macOS 10.15.4 (19E287)
Details
This is quite a critical bug to me as it can mask errors by exiting the CI successfully. If one doesn't notice, this may lead to releasing a broken version of a project.
Expected Behavior
If a browser fails to spawn or a test fails in one of the browsers, the process should exit with code different than 0.
Actual Behavior
The process always exits with code 0.
Steps to Reproduce the Problem
git clone git@github.com:jquery/jquery-color.gitnpm installtest/unit/color.jsso that it fails, e.g. by changing one 255 to 254.npm run browserstack; echo $?You should see a failure & a number different than 0 as the last output. 0 is printed instead.
browserstack.json
Platform details
Details
This is quite a critical bug to me as it can mask errors by exiting the CI successfully. If one doesn't notice, this may lead to releasing a broken version of a project.