Files
opencloud/settings/nightwatch.conf.js
Artur Neumann 0f07a0b2e4 fix path part 2
2021-11-17 16:38:35 +05:45

10 lines
369 B
JavaScript

const path = require('path')
const TEST_INFRA_DIRECTORY = process.env.TEST_INFRA_DIRECTORY
const config = require(path.join(TEST_INFRA_DIRECTORY, 'nightwatch.conf.js'))
config.page_objects_path = [TEST_INFRA_DIRECTORY + '/pageObjects', 'ui/tests/acceptance/pageobjects']
config.custom_commands_path = TEST_INFRA_DIRECTORY + '/customCommands'
module.exports = config