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

35 lines
1.0 KiB
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
'use strict';
2020-06-29 18:11:11 -04:00
module.exports = {
test_page: 'tests/index.html?hidepassed',
2020-06-29 18:11:11 -04:00
disable_watching: true,
launch_in_ci: ['Chrome'],
launch_in_dev: ['Chrome'],
2020-06-29 18:11:11 -04:00
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 backgrounding renders for occluded windows
'--disable-backgrounding-occluded-windows',
// Disable renderer process backgrounding
'--disable-renderer-backgrounding',
// Disable task throttling of timer tasks from background pages
'--disable-background-timer-throttling',
'--disable-dev-shm-usage',
'--disable-software-rasterizer',
'--mute-audio',
'--remote-debugging-port=0',
'--window-size=1440,900',
2020-11-11 16:43:49 -05:00
].filter(Boolean),
},
},
2023-01-10 18:25:09 -05:00
parallel: process.env.EMBER_EXAM_SPLIT_COUNT || 1,
2020-06-29 18:11:11 -04:00
};