For me (using karma), the specified port in the Karma configuration file did not match the specified port in the protractor configuration file.
exports.config = {
...,
baseUrl: 'http://localhost:9876/',
framework: 'jasmine',
jasmineNodeOpts: {
defaultTimeoutInterval: 3000,
print: function() {}
}
This answer seemed obvious after I found it, but the ports received changes in source control, and the fix was not immediately obvious.
source
share