chore(e2e): update to latest protractor version (#2608)

* chore(e2e): update to latest protractor version

* Updates to the latest Protractor version, which now uses Selenium V3
* The new types for Protractor v5 include the fix for the missing `chord` function (See https://github.com/DefinitelyTyped/DefinitelyTyped/commit/123690bb2e0f9dac2371084369a8ecf8976cbb34)
* Methods like `innerHtml` have been removed in Protractor v5 (https://github.com/angular/protractor/blob/master/CHANGELOG.md)

* Test later chromedriver version
This commit is contained in:
Paul Gschwendtner
2017-01-13 23:59:01 +01:00
committed by tinayuangao
parent 7727387755
commit 4ab6f30f50
5 changed files with 9 additions and 14 deletions
+2 -5
View File
@@ -41,6 +41,8 @@ if (process.env['TRAVIS']) {
config.sauceKey = key;
config.capabilities = {
'browserName': 'chrome',
'version': 'latest',
"chromedriverVersion": "2.26",
'tunnel-identifier': process.env['TRAVIS_JOB_ID'],
'build': process.env['TRAVIS_JOB_ID'],
'name': 'Material 2 E2E Tests',
@@ -53,11 +55,6 @@ if (process.env['TRAVIS']) {
'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 = () => {};
}