Skip to content

Commit 7eb1290

Browse files
committed
Merge pull request #28 from LionsAd/pin-chrome-to-43
[Bug] Fix Google Chrome by allowing to pin it to version 43.
2 parents 03d3e16 + a893848 commit 7eb1290

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

functions/behat.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,16 @@ function drupal_ti_ensure_chrome() {
8484
return
8585
fi
8686

87+
# @todo Move to defaults API.
88+
if [ -z "$DRUPAL_TI_BEHAT_CHROME_URL" ]
89+
then
90+
DRUPAL_TI_BEHAT_CHROME_URL="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
91+
fi
92+
8793
drupal_ti_ensure_apt_get
8894
(
8995
cd $DRUPAL_TI_DIST_DIR
90-
# @todo Make version configurable.
91-
wget -O google-chrome-stable_current_amd64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
96+
wget -O google-chrome-stable_current_amd64.deb "$DRUPAL_TI_BEHAT_CHROME_URL"
9297
dpkg -x google-chrome-stable_current_amd64.deb .
9398
)
9499
drupal_ti_ensure_bin_dir

0 commit comments

Comments
 (0)