Closed DabblesWithApps closed 5 years ago
per http://nightwatchjs.org/guide#test-environments, when using test_settings:
A "default" environment is required. All the other environments are inheriting from default and can overwrite settings as needed.
I resolved the issue by adding a "default" environment like so:
"test_settings" : {
"default" : {
"selenium" : {
"start_process" : true
}
},
...
I have a nightwatch.conf.js file that allows nightwatch to run fine when I target certain environments. For example the following commands run without problem:
nightwatch -e ie
nightwatch -e ff
nightwatch -e ios
nightwatch -e ie,ff
My problem is that the following command causes the ff and ie environments to fail:
nightwatch -e ios,ie,ff
The logs indicate the ie and ff were passed
selenium.start_process = false
, even though I expect them to be true:The behavior outlined in the log contradicts my test settings:
Any help would be greatly appreciated. Apologies if I am misunderstanding something.