2018-04-03 14:16:57 +00:00
|
|
|
/*jshint node:true*/
|
2018-06-14 13:43:38 +00:00
|
|
|
|
2018-04-03 14:16:57 +00:00
|
|
|
module.exports = {
|
2018-06-14 13:43:38 +00:00
|
|
|
framework: 'qunit',
|
|
|
|
test_page: 'tests/index.html?hidepassed',
|
|
|
|
tap_quiet_logs: true,
|
|
|
|
disable_watching: true,
|
|
|
|
launch_in_ci: ['Chrome'],
|
2018-05-08 15:43:20 +00:00
|
|
|
browser_args: {
|
|
|
|
Chrome: {
|
|
|
|
mode: 'ci',
|
|
|
|
args: [
|
|
|
|
// --no-sandbox is needed when running Chrome inside a container
|
|
|
|
process.env.TRAVIS ? '--no-sandbox' : null,
|
|
|
|
|
|
|
|
'--disable-gpu',
|
|
|
|
'--headless',
|
|
|
|
'--remote-debugging-port=0',
|
2018-06-14 13:43:38 +00:00
|
|
|
'--window-size=1440,900',
|
|
|
|
].filter(Boolean),
|
|
|
|
},
|
2018-05-08 15:43:20 +00:00
|
|
|
},
|
2018-06-14 13:43:38 +00:00
|
|
|
launch_in_dev: ['Chrome'],
|
|
|
|
on_exit:
|
|
|
|
'[ -e ../../vault-ui-integration-server.pid ] && node ../../scripts/start-vault.js `cat ../../vault-ui-integration-server.pid`; [ -e ../../vault-ui-integration-server.pid ] && rm ../../vault-ui-integration-server.pid',
|
2018-04-03 14:16:57 +00:00
|
|
|
|
|
|
|
proxies: {
|
2018-06-14 13:43:38 +00:00
|
|
|
'/v1': {
|
|
|
|
target: 'http://localhost:9200',
|
|
|
|
},
|
2018-05-08 15:43:20 +00:00
|
|
|
},
|
2018-04-03 14:16:57 +00:00
|
|
|
};
|