Skip to content

Commit

Permalink
fix run_tests script
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuleatt committed Jul 27, 2023
1 parent 9b0ee34 commit 6e3886f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion buildtools/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ if [[ $1 = "--saucelabs" ]]; then
else
echo "Using Headless Chrome."
# Updates Selenium Webdriver.
GOOGLE_CHROME_VERSION=$(google-chrome --product-version || echo 'latest')

# TODO(jhuleatt) this is failing when `google-chrome --product-version` returns Chrome 115.0.5790.110
# so for now, hard code latest
# GOOGLE_CHROME_VERSION=$(google-chrome --product-version || echo 'latest')
GOOGLE_CHROME_VERSION=$(echo 'latest')
echo "$PROTRACTOR_BIN_PATH/webdriver-manager update --versions.chrome=$GOOGLE_CHROME_VERSION --gecko=false"
$PROTRACTOR_BIN_PATH/webdriver-manager update --versions.chrome=$GOOGLE_CHROME_VERSION --gecko=false
# Start Selenium Webdriver.
Expand Down

0 comments on commit 6e3886f

Please sign in to comment.