Skip to content

Commit

Permalink
extra slash to find nightwatch config
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it committed Nov 17, 2021
1 parent c7cdccf commit 79e3a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accounts/nightwatch.conf.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion settings/nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 79e3a7f

Please sign in to comment.