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
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.
The text was updated successfully, but these errors were encountered:
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 [email protected]:jquery/jquery-color.git
npm install
test/unit/color.js
so 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.
The text was updated successfully, but these errors were encountered: