Skip to content

Commit 34812fa

Browse files
devversionjosephperrott
authored andcommitted
build: run e2e tests with chrome headless (#13671)
1 parent d177d6f commit 34812fa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- *restore_cache
122122
- *yarn_install
123123

124-
- run: xvfb-run -a --server-args='-screen 0, 1024x768x16' yarn gulp ci:e2e
124+
- run: yarn gulp ci:e2e
125125

126126
- *save_cache
127127

test/protractor.conf.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ exports.config = {
3636
capabilities: {
3737
browserName: 'chrome',
3838

39+
chromeOptions: {
40+
args: [ '--headless', '--window-size=1024,768']
41+
},
42+
3943
// Enables concurrent testing in the Webdriver. Currently runs three e2e files in parallel.
4044
shardTestFiles: true,
4145
maxInstances: 5,

0 commit comments

Comments
 (0)