Browser tests should fail in obvious cases like your server isn't running or you aren't on the right network. My suggestion is to check that the browser receives a valid response from the server.
Example test case to repro:
module.exports = {
'Open should fail for bad URL but it does not': function(test) {
test.open('foobar://BADURL.example').done();
}
};
Browser tests should fail in obvious cases like your server isn't running or you aren't on the right network. My suggestion is to check that the browser receives a valid response from the server.
Example test case to repro:
Output: