Skip to content

Commit 69477fa

Browse files
alan-agius4clydin
authored andcommitted
test: add --disable-dev-shm-usage to address WebDriverError: unknown error: Chrome failed to start: crashed
This fixes an issue where protractor integration tests are failing with ``` [07:38:37] I/direct - Using ChromeDriver directly... [07:38:39] E/launcher - unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) ``` (cherry picked from commit 0718e1b)
1 parent d832370 commit 69477fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/test/hello-world-app/protractor.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exports.config = {
1818
capabilities: {
1919
browserName: 'chrome',
2020
chromeOptions: {
21-
args: ['--headless', '--disable-gpu', '--window-size=800,600'],
21+
args: ['--headless', '--no-sandbox', '--disable-gpu', '--disable-dev-shm-usage'],
2222
binary: require('puppeteer').executablePath(),
2323
},
2424
},

0 commit comments

Comments
 (0)