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: {