mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 05:07:52 +00:00
[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.
This commit is contained in:
parent
b6b716b767
commit
deb9e3e2ee
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user