From 9e208ed573e924626a5e92c474adc5bd3036f875 Mon Sep 17 00:00:00 2001 From: Martin Muller Date: Wed, 30 Oct 2019 12:16:32 +0100 Subject: [PATCH] [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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2c2cdbb38..0294a5544 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "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", "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": "npm run wd:update && protractor --baseUrl=http://localhost:4000 $SUITE", "e2e.local": "npm run wd:update && protractor --baseUrl=http://localhost:4200 $SUITE",