When it comes to the placement of the setting allScriptsTimeout
in the protractor conf.js file, there seems to be a difference whether it is inside or outside of the jasmineNodeOpts
.
Below are two examples for reference, but which one is considered valid?
If placed outside jasmine node options:
exports.config = {
framework: "jasmine2",
multiCapablities: [
{'browserName' : 'chrome'},
{'browserName':'firefox'}
],
allScriptsTimeout : 20000,
jasmineNodeOpts: {
isVerbose: true,
showColors: true,
print: function () {
},
includeStackTrace: true,
defaultTimeoutInterval: 400000
//allScriptsTimeout: 550000
}
}
If placed within jasmine node options:
exports.config = {
framework: "jasmine2",
multiCapablities: [
{'browserName' : 'chrome'},
{'browserName':'firefox'}
],
jasmineNodeOpts: {
isVerbose: true,
showColors: true,
print: function () {
},
includeStackTrace: true,
defaultTimeoutInterval: 400000
allScriptsTimeout: 200000
}
}