ci: configure chrome options for protractor (#26735)

so that they are more suitable for CI usage.

PR Close #26735
This commit is contained in:
Igor Minar 2018-10-25 18:10:31 -07:00 committed by Matias Niemelä
parent 0f274d65c4
commit f3859130f2

View File

@ -18,7 +18,7 @@ const BASE = isBazel ? 'angular/modules' : 'dist/all';
require(`./${BASE}/e2e_util/perf_util`).readCommandLine();
var CHROME_OPTIONS = {
'args': ['--js-flags=--expose-gc', '--no-sandbox'],
'args': ['--js-flags=--expose-gc', '--no-sandbox', '--headless', '--disable-dev-shm-usage'],
'perfLoggingPrefs': {
'traceCategories':
'v8,blink.console,devtools.timeline,disabled-by-default-devtools.timeline,blink.user_timing'