From 34812fa1d8533c142724015051237c71e013f4fa Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 19 Oct 2018 16:27:44 +0200 Subject: [PATCH] build: run e2e tests with chrome headless (#13671) --- .circleci/config.yml | 2 +- test/protractor.conf.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0dba307e180..bdcbe619f57 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -121,7 +121,7 @@ jobs: - *restore_cache - *yarn_install - - run: xvfb-run -a --server-args='-screen 0, 1024x768x16' yarn gulp ci:e2e + - run: yarn gulp ci:e2e - *save_cache diff --git a/test/protractor.conf.js b/test/protractor.conf.js index 7f8ff4599f9..cbe5c5eb659 100644 --- a/test/protractor.conf.js +++ b/test/protractor.conf.js @@ -36,6 +36,10 @@ exports.config = { capabilities: { browserName: 'chrome', + chromeOptions: { + args: [ '--headless', '--window-size=1024,768'] + }, + // Enables concurrent testing in the Webdriver. Currently runs three e2e files in parallel. shardTestFiles: true, maxInstances: 5,