smokes: Add chromium to the list of path to search

This commit is contained in:
Povilas Kanapickas
2020-08-21 16:57:54 +03:00
parent fc5508e852
commit 88aab8949b

View File

@@ -32,7 +32,11 @@ if [ -f /usr/bin/protractor ]; then
else
yarn install --pure-lockfile
../common/smokedist-download-compatible-chromedriver.py \
./node_modules/protractor/bin/webdriver-manager google-chrome chromium-browser
./node_modules/protractor/bin/webdriver-manager \
google-chrome \
chromium-browser \
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
chromium
PROTRACTOR=./node_modules/protractor/bin/protractor
fi
if [ -f /usr/bin/xvfb-run ] && [[ ! -n "$SMOKES_DONT_USE_XVFB" ]] ; then
@@ -41,6 +45,10 @@ else
# manual mode: install locally
yarn install
../common/smokedist-download-compatible-chromedriver.py \
./node_modules/protractor/bin/webdriver-manager google-chrome chromium-browser /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
./node_modules/protractor/bin/webdriver-manager \
google-chrome \
chromium-browser \
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
chromium
./node_modules/protractor/bin/protractor protractor.conf.js
fi