mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
tinayuangao
parent
7727387755
commit
4ab6f30f50
@@ -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 = () => {};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user