DEV: uses ember-cli recommended chrome flags (#7939)

This commit is contained in:
Joffrey JAFFEUX 2019-07-25 11:38:05 +02:00 committed by GitHub
parent c7b146cbdf
commit 460d431621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -38,7 +38,15 @@ if (QUNIT_RESULT) {
async function runAllTests() { async function runAllTests() {
function launchChrome() { function launchChrome() {
const options = { const options = {
chromeFlags: ["--disable-gpu", "--headless", "--no-sandbox"] chromeFlags: [
"--disable-gpu",
"--headless",
"--no-sandbox",
"--disable-dev-shm-usage",
"--disable-software-rasterizer",
"--mute-audio",
"--window-size=1440,900"
]
}; };
if (process.env.REMOTE_DEBUG) { if (process.env.REMOTE_DEBUG) {