Files
opencloud/extensions/settings/nightwatch.conf.js
Christian Richter 1a1a4d6a3c refactor settings
2022-04-13 17:04:37 +02:00

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