procyon/nightwatch.conf.js
Roman Jaroš 3731a61dd5 Nginx serve MJS files as mime javascript type
Change-Id: Ib77b08564c34e786b08d8ee804c512a2c3c60b73
2023-04-23 13:09:11 +02:00

33 lines
567 B
JavaScript

const config = require('./config/config.json');
const setting = {
selenium_port: 4444,
selenium_host: '192.168.0.22',
desiredCapabilities: {
chromeOptions: {
args: ['headless', 'no-sandbox'],
},
},
};
module.exports = {
src_folders: 'tests/',
output_folder: false,
selenium: {
start_process: false,
},
test_settings: {
localhost: Object.assign(
{
launch_url: 'http://192.168.0.97:' + config.LOCALHOST_PORT,
},
setting
),
ci: Object.assign(
{
launch_url: 'http://10.5.0.2:' + config.E2E_PORT,
},
setting
),
},
};