Skip to main content

Web Tests Fail with Timeout

When running web tests using Continuous Testing Cloud, screenshots are taken after each command.

Taking a screenshot can take a long time (particularly in Internet Explorer). When running web grid tests on Continuous Testing Cloud, do one of the following to skip taking screenshots:

  • Disable taking screenshots by adding "takeScreenshots=false" to the conf.js file.

  • Increase the default timeout. In Protractor it's done by adding the following piece of code to exports.config in conf.js.

protractor.conf.js

exports.config = {
..
..
jasmineNodeOpts: {
defaultTimeoutInterval: 2500000
},
..
..
}