Skip to content

Commit

Permalink
Update MU blueprint with ember-cli#7566 testem Travis --no-sandbox fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyk committed Jun 9, 2018
1 parent 9d628e5 commit 4c4a656
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
18 changes: 12 additions & 6 deletions blueprints/module-unification-app/files/testem.js
Expand Up @@ -8,11 +8,17 @@ module.exports = {
'Chrome'
],
browser_args: {
Chrome: [
'--disable-gpu',
'--headless',
'--remote-debugging-port=9222',
'--window-size=1440,900'
]
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',
'--window-size=1440,900'
].filter(Boolean)
}
}
};
18 changes: 12 additions & 6 deletions tests/fixtures/module-unification-addon/testem.js
Expand Up @@ -8,11 +8,17 @@ module.exports = {
'Chrome'
],
browser_args: {
Chrome: [
'--disable-gpu',
'--headless',
'--remote-debugging-port=9222',
'--window-size=1440,900'
]
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',
'--window-size=1440,900'
].filter(Boolean)
}
}
};

0 comments on commit 4c4a656

Please sign in to comment.