Files
threshold-ui/ui/admin/testem.js
T

29 lines
797 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2020-05-18 17:02:09 -04:00
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
2020-07-08 16:35:54 -04:00
launch_in_ci: ['Chrome'],
2020-05-18 17:02:09 -04:00
launch_in_dev: ['Chrome', 'Firefox'],
browser_start_timeout: 120,
browser_args: {
Chrome: {
ci: [
// --no-sandbox is needed when running Chrome inside a container
process.env.CI ? '--no-sandbox' : null,
'--headless',
'--disable-dev-shm-usage',
'--disable-gpu',
//'--disable-software-rasterizer',
'--mute-audio',
'--remote-debugging-port=0',
'--window-size=1440,900',
].filter(Boolean),
},
Firefox: ['-headless', '--window-size=1440,900'],
},
2023-01-10 18:25:09 -05:00
parallel: process.env.EMBER_EXAM_SPLIT_COUNT || 1,
2020-05-18 17:02:09 -04:00
};