Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Update the default java version to 9 (#443)
Browse files Browse the repository at this point in the history
* Updates java package to java 9

* Updates chrome driver version to 2.46
  • Loading branch information
vijetmahabaleshwar-okta authored May 17, 2019
1 parent 47d8963 commit 852cdc7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ addons:
chrome: stable
apt:
packages:
- oracle-java8-set-default
- oracle-java9-set-default

script:
- yarn install
Expand Down
2 changes: 1 addition & 1 deletion packages/oidc-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"main": "index.js",
"scripts": {
"test": "yarn test:unit && yarn test:e2e && yarn test:integration",
"pretest:e2e": "./node_modules/.bin/webdriver-manager update --versions.chrome 2.45 --gecko false",
"pretest:e2e": "./node_modules/.bin/webdriver-manager update --versions.chrome 2.46 --gecko false",
"test:e2e": "protractor test/e2e/protractor.conf.js",
"test:integration": "../../scripts/tck.sh",
"test:unit": "jest test/unit"
Expand Down
4 changes: 2 additions & 2 deletions packages/okta-angular/test/e2e/harness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"start": "yarn env && ng serve --port=3000",
"env": "node ./scripts/prebuild.js",
"build": "ng build",
"pretest": "./node_modules/.bin/webdriver-manager update --versions.chrome 2.45 --gecko false",
"pretest": "./node_modules/.bin/webdriver-manager update --versions.chrome 2.46 --gecko false",
"test": "ng test --watch=false",
"lint": "ng lint",
"pree2e": "./node_modules/.bin/webdriver-manager update --versions.chrome 2.45 --gecko false",
"pree2e": "./node_modules/.bin/webdriver-manager update --versions.chrome 2.46 --gecko false",
"e2e": "yarn env && ng e2e --port 3000 --no-webdriver-update"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/okta-react/test/e2e/harness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build": "CLIENT_ID=${SPA_CLIENT_ID:=$CLIENT_ID} && REACT_APP_ISSUER=$ISSUER REACT_APP_CLIENT_ID=$CLIENT_ID PORT=8080 OKTA_TESTING_DISABLEHTTPSCHECK=$OKTA_TESTING_DISABLEHTTPSCHECK react-scripts build",
"build:test": "rimraf e2e/dist && babel e2e/ -d e2e/dist",
"kill:port": "kill -9 $(lsof -t -i:8080 -sTCP:LISTEN) || true",
"pretest": "yarn kill:port && ./node_modules/.bin/webdriver-manager update --versions.chrome 2.45 --gecko false && yarn build:test",
"pretest": "yarn kill:port && ./node_modules/.bin/webdriver-manager update --versions.chrome 2.46 --gecko false && yarn build:test",
"wait:server": "BROWSER=none yarn start & ./node_modules/.bin/wait-on http://localhost:8080",
"test": "yarn build && yarn wait:server && yarn protractor",
"eject": "react-scripts eject",
Expand Down
2 changes: 1 addition & 1 deletion packages/okta-vue/test/e2e/harness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "yarn env && yarn dev",
"env": "node ./scripts/prebuild.js",
"pree2e": "sh ./scripts/downloadChromeDriver.sh && ./node_modules/.bin/webdriver-manager update --versions.chrome 2.45 --gecko false",
"pree2e": "sh ./scripts/downloadChromeDriver.sh && ./node_modules/.bin/webdriver-manager update --versions.chrome 2.46 --gecko false",
"e2e": "node test/e2e/runner.js",
"test": "yarn env && yarn e2e",
"lint": "eslint --ext .js,.vue src test/e2e/specs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ OS="`uname`"
case $OS in
'Linux')
OS='Linux'
CHROME_DRIVER=http://chromedriver.storage.googleapis.com/2.45/chromedriver_linux64.zip
CHROME_DRIVER=http://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip
;;
'WindowsNT')
OS='Windows'
CHROME_DRIVER=http://chromedriver.storage.googleapis.com/2.45/chromedriver_win32.zip
CHROME_DRIVER=http://chromedriver.storage.googleapis.com/2.46/chromedriver_win32.zip
;;
'Darwin')
OS='Mac'
CHROME_DRIVER=http://chromedriver.storage.googleapis.com/2.45/chromedriver_mac64.zip
CHROME_DRIVER=http://chromedriver.storage.googleapis.com/2.46/chromedriver_mac64.zip
;;
*) ;;
esac
Expand Down

0 comments on commit 852cdc7

Please sign in to comment.