diff --git a/accounts/nightwatch.conf.js b/accounts/nightwatch.conf.js index b326cdb3385..5d06521d58a 100644 --- a/accounts/nightwatch.conf.js +++ b/accounts/nightwatch.conf.js @@ -1,7 +1,7 @@ const path = require('path') const WEB_PATH = process.env.WEB_PATH -const config = require(path.join(WEB_PATH, 'tests/acceptance/nightwatch.conf.js')) +const config = require(path.join(WEB_PATH, '/tests/acceptance/nightwatch.conf.js')) config.page_objects_path = [WEB_PATH + '/tests/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects'] config.custom_commands_path = WEB_PATH + '/tests/acceptance/customCommands' diff --git a/settings/nightwatch.conf.js b/settings/nightwatch.conf.js index 9c2b6a5e81c..f6bbe25a827 100644 --- a/settings/nightwatch.conf.js +++ b/settings/nightwatch.conf.js @@ -2,7 +2,7 @@ const path = require('path') const WEB_PATH = process.env.WEB_PATH const TEST_INFRA_DIRECTORY = process.env.TEST_INFRA_DIRECTORY -const config = require(path.join(WEB_PATH, 'tests/acceptance/nightwatch.conf.js')) +const config = require(path.join(WEB_PATH, '/tests/acceptance/nightwatch.conf.js')) config.page_objects_path = [TEST_INFRA_DIRECTORY + '/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects'] config.custom_commands_path = TEST_INFRA_DIRECTORY + '/acceptance/customCommands'