From 17291e66a0183b5559d054ebe3e99622a93f658d Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Sat, 5 Jan 2019 19:43:55 +0100 Subject: [PATCH] ci: run legacy e2e tests in parallel (#27937) PR Close #27937 --- protractor-e2e.conf.js | 4 ++++ protractor-examples-e2e.conf.js | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/protractor-e2e.conf.js b/protractor-e2e.conf.js index 7afc6f56f2..5b402dd9da 100644 --- a/protractor-e2e.conf.js +++ b/protractor-e2e.conf.js @@ -13,6 +13,10 @@ require('./dist/all/e2e_util/e2e_util').readCommandLine(); var BROWSER_OPTIONS = { LocalChrome: { 'browserName': 'chrome', + + // Enables concurrent testing. Currently runs four e2e files in parallel. + shardTestFiles: true, + maxInstances: 4, }, ChromeOnTravis: { browserName: 'chrome', diff --git a/protractor-examples-e2e.conf.js b/protractor-examples-e2e.conf.js index 1259ffab36..504e46a8a8 100644 --- a/protractor-examples-e2e.conf.js +++ b/protractor-examples-e2e.conf.js @@ -14,7 +14,13 @@ require('reflect-metadata'); Error.stackTraceLimit = 9999; var BROWSER_OPTIONS = { - LocalChrome: {'browserName': 'chrome'}, + LocalChrome: { + 'browserName': 'chrome', + + // Enables concurrent testing. Currently runs four e2e files in parallel. + shardTestFiles: true, + maxInstances: 4, + }, ChromeOnTravis: { browserName: 'chrome', chromeOptions: {