Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /