Closed blessingoraz closed 6 years ago
Hi,
I have this error when I run Nightwatch tests:
Here is how one of the config files looks like:
src_folders : [ "tests/single" ], selenium : { "start_process" : false, "host" : "hub-cloud.browserstack.com", "port" : 80 }, test_settings: { default: { desiredCapabilities: { 'build': 'nightwatch-browserstack', 'browserstack.user': process.env.BROWSERSTACK_USERNAME || 'BROWSERSTACK_USERNAME', 'browserstack.key': process.env.BROWSERSTACK_ACCESS_KEY || 'BROWSERSTACK_ACCESS_KEY', 'browserstack.debug': true, 'browser': 'chrome' } } } }; // Code to copy seleniumhost/port into test settings for(var i in nightwatch_config.test_settings){ var config = nightwatch_config.test_settings[i]; config['selenium_host'] = nightwatch_config.selenium.host; config['selenium_port'] = nightwatch_config.selenium.port; } module.exports = nightwatch_config;
Can anyone help me out with?
Hi,
I have this error when I run Nightwatch tests:
Here is how one of the config files looks like:
Can anyone help me out with?