build: run e2e tests with chrome headless (#13671)

This commit is contained in:
Paul Gschwendtner
2018-10-19 16:27:44 +02:00
committed by Joey Perrott
parent d177d6f3ec
commit 34812fa1d8
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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
+4
View File
@@ -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,