Skip to content

Commit

Permalink
chore(webdriver): upgrade Protractor to webdriver 2.48.2
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
1) Users will no longer be able to use node versions <4.
2) There is significant changes to the control flow, and tests may need to be
   modified to be compliant with the new control flow.
See https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md
  • Loading branch information
hankduan committed Nov 4, 2015
1 parent 2bde92b commit 18e1f71
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
@@ -1,9 +1,8 @@
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
- "5"

env:
global:
Expand All @@ -20,9 +19,7 @@ matrix:
- env: "JOB=smoke"
exclude:
- env: JOB=smoke
node_js: "0.12"
- env: JOB=smoke
node_js: "0.10"
node_js: "5"


before_script:
Expand Down
2 changes: 1 addition & 1 deletion config.json
@@ -1,6 +1,6 @@
{
"webdriverVersions": {
"selenium": "2.47.1",
"selenium": "2.48.2",
"chromedriver": "2.19",
"iedriver": "2.47.0"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -13,7 +13,7 @@
"author": "Julie Ralph <ju.ralph@gmail.com>",
"dependencies": {
"request": "~2.57.0",
"selenium-webdriver": "2.47.0",
"selenium-webdriver": "2.48.2",
"jasminewd2": "0.0.6",
"jasmine": "2.3.2",
"saucelabs": "~1.0.1",
Expand Down
4 changes: 2 additions & 2 deletions spec/ciFullConf.js
Expand Up @@ -23,7 +23,7 @@ exports.config = {
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': 'Protractor suite tests',
'version': '45',
'selenium-version': '2.47.1',
'selenium-version': '2.48.2',
'chromedriver-version': '2.19',
'platform': 'OS X 10.9'
}, {
Expand All @@ -32,7 +32,7 @@ exports.config = {
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': 'Protractor suite tests',
'version': '40',
'selenium-version': '2.47.1'
'selenium-version': '2.48.2'
}],

baseUrl: env.baseUrl,
Expand Down
8 changes: 4 additions & 4 deletions spec/ciSmokeConf.js
Expand Up @@ -24,7 +24,7 @@ exports.config = {
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': 'Protractor smoke tests',
'version': '44',
'selenium-version': '2.47.1',
'selenium-version': '2.48.2',
'chromedriver-version': '2.19',
'platform': 'OS X 10.9'
}, {
Expand All @@ -33,7 +33,7 @@ exports.config = {
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': 'Protractor smoke tests',
'version': '39',
'selenium-version': '2.47.1'
'selenium-version': '2.48.2'
}, {
'browserName': 'safari',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
Expand All @@ -55,15 +55,15 @@ exports.config = {
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': 'Protractor smoke tests',
'version': '11',
'selenium-version': '2.47.1',
'selenium-version': '2.48.2',
'platform': 'Windows 7'
}, {
'browserName': 'internet explorer',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': 'Protractor smoke tests',
'version': '10',
'selenium-version': '2.47.1',
'selenium-version': '2.48.2',
'platform': 'Windows 7'
}],

Expand Down

0 comments on commit 18e1f71

Please sign in to comment.