If I'd like on my configuration to be done via the args parameter, while throw an error if no configFile is defined (yet it works if one provide an empty string).
Example:
protractor: {
options: {
configFile: '', // We need this or we get an error
noColor: false,
args: {
specs: [
'client/tests/e2e/*.js'
],
capabilities: {
'browserName': 'chrome'
},
baseUrl: 'http://http://127.0.0.1:3000/',
framework: 'jasmine'
}
},
e2e: {
options: {
keepAlive: false
}
},
continuous: {
options: {
keepAlive: true
}
}
},
Just wondering...
If I'd like on my configuration to be done via the
args
parameter, while throw an error if noconfigFile
is defined (yet it works if one provide an empty string).Example: