[ACA-2779] Configurable Chrome Protractor version (#1237)

* Allow a specific chrome version for webdriver with "VERSION_CHROME=1.2.3 npm run wd:update". Defaults back to the latest chrome version.
This commit is contained in:
Martin Muller 2019-10-30 12:16:32 +01:00 committed by GitHub
parent 8d510b23fd
commit 9e208ed573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
"test": "ng test app --code-coverage", "test": "ng test app --code-coverage",
"test:ci": "npm run build.shared && npm run build.extensions && ng test adf-office-services-ext --watch=false && ng test app --code-coverage --watch=false", "test:ci": "npm run build.shared && npm run build.extensions && ng test adf-office-services-ext --watch=false && ng test app --code-coverage --watch=false",
"lint": "ng lint && npm run spellcheck && npm run format:check && npm run e2e.typecheck", "lint": "ng lint && npm run spellcheck && npm run format:check && npm run e2e.typecheck",
"wd:update": "webdriver-manager update --gecko=false", "wd:update": "webdriver-manager update --gecko=false $VERSION_CHROME",
"e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json", "e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json",
"e2e": "npm run wd:update && protractor --baseUrl=http://localhost:4000 $SUITE", "e2e": "npm run wd:update && protractor --baseUrl=http://localhost:4000 $SUITE",
"e2e.local": "npm run wd:update && protractor --baseUrl=http://localhost:4200 $SUITE", "e2e.local": "npm run wd:update && protractor --baseUrl=http://localhost:4200 $SUITE",