FIX: Use the no-sandbox flag when running Ember CLI tests. (#12951)

Without this flag we get "Error: Browser exited unexpectedly" when trying to run tests.
This commit is contained in:
Roman Rizzi 2021-05-05 14:02:26 -03:00 committed by GitHub
parent ac1d344368
commit c8f34db648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module.exports = {
browser_args: {
Chrome: [
// --no-sandbox is needed when running Chrome inside a container
process.env.CI ? "--no-sandbox" : null,
process.env.CI || process.env.EMBER_CLI ? "--no-sandbox" : null,
"--headless",
"--disable-dev-shm-usage",
"--disable-software-rasterizer",