File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,6 @@ echo " -- TEST_ES_SNAPSHOT_VERSION='$TEST_ES_SNAPSHOT_VERSION'"
1616echo " -- installing node.js dependencies"
1717yarn kbn bootstrap --prefer-offline
1818
19- # ##
20- # ## ensure Chromedriver install hook is triggered
21- # ## when modules are up-to-date
22- # ##
23- node node_modules/chromedriver/install.js
24-
2519# ##
2620# ## Download es snapshots
2721# ##
Original file line number Diff line number Diff line change @@ -133,13 +133,13 @@ export CYPRESS_DOWNLOAD_MIRROR="https://us-central1-elastic-kibana-184716.cloudf
133133export CHECKS_REPORTER_ACTIVE=false
134134
135135# This is mainly for release-manager builds, which run in an environment that doesn't have Chrome installed
136- # if [[ "$(which google-chrome-stable)" || "$(which google-chrome)" ]]; then
137- # echo "Chrome detected, setting DETECT_CHROMEDRIVER_VERSION=true"
138- # export DETECT_CHROMEDRIVER_VERSION=true
139- # export CHROMEDRIVER_FORCE_DOWNLOAD=true
140- # else
141- # echo "Chrome not detected, installing default chromedriver binary for the package version"
142- # fi
136+ if [[ " $( which google-chrome-stable) " || " $( which google-chrome) " ]]; then
137+ echo " Chrome detected, setting DETECT_CHROMEDRIVER_VERSION=true"
138+ export DETECT_CHROMEDRIVER_VERSION=true
139+ export CHROMEDRIVER_FORCE_DOWNLOAD=true
140+ else
141+ echo " Chrome not detected, installing default chromedriver binary for the package version"
142+ fi
143143
144144# ## only run on pr jobs for elastic/kibana, checks-reporter doesn't work for other repos
145145if [[ " $ghprbPullId " && " $ghprbGhRepository " == ' elastic/kibana' ]] ; then
You can’t perform that action at this time.
0 commit comments