mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 03:40:01 -06:00
11 lines
417 B
JavaScript
11 lines
417 B
JavaScript
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, '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'
|
|
|
|
module.exports = config
|