Browserstack reports successful even when test fails in Nightwatchjs
I just started using nightwatch with browserstack and I'm noticing that when we get a failed test, nightwatch registers the failure, but browserstack does not. sample test I am using . Also I am using free trial version of BrowserStack. My question is: Are there any ideas how to tell browserstack when a test run failed ? From BrowserStack doc : REST API It is possible to mark tests as either a pass or a fail, using the following snippet: var request = require("request"); request({ uri: "https://user:key@www.browserstack.com/automate/sessions/<session-id>.json", method: "PUT", form: { "status":