diff --git a/test/protractor.conf.js b/test/protractor.conf.js index 80c9009bc4a..e9ede4993c2 100644 --- a/test/protractor.conf.js +++ b/test/protractor.conf.js @@ -45,10 +45,19 @@ if (process.env['TRAVIS']) { 'build': process.env['TRAVIS_JOB_NUMBER'], 'name': 'Material 2 E2E Tests', + // Enables concurrent testing in the Webdriver. Currently runs five e2e files in parallel. + maxInstances: 5, + shardTestFiles: true, + // By default Saucelabs tries to record the whole e2e run. This can slow down the builds. 'recordVideo': false, 'recordScreenshots': false }; + + // Because Protractor runs selenium instances concurrently in the CI and each instance + // will create a bloat of logs we don't want to show any info messages. + // Until protractor#1451 is solved, manually disable all info messages. + require('protractor/built/logger').Logger.prototype.info = () => {}; }