From deb9e3e2ee86dc63e546978c036379937c141e71 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Wed, 12 Aug 2015 10:28:20 -0700 Subject: [PATCH] [Tests] Change Chrome binary env variable Use CHROME_BIN as the environment variable for nonstandard Google Chrome binary locations; this is the same variable used by Karma, so configuration is simplified. WTD-1505. --- protractor/conf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protractor/conf.js b/protractor/conf.js index 493c196c46..c3c1847228 100644 --- a/protractor/conf.js +++ b/protractor/conf.js @@ -61,7 +61,7 @@ exports.config = { // Allow specifying binary location as an environment variable, // for cases where Chrome is not installed in a usual location. -if (process.env.PROTRACTOR_CHROME_BINARY) { +if (process.env.CHROME_BIN) { exports.config.capabilities.chromeOptions.binary = - process.env.PROTRACTOR_CHROME_BINARY; + process.env.CHROME_BIN; }