Commit 8e301217 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider

fix chromedriver version update to compatible with installed chrome

stolen from denteos gitlab-ci
parent 6fbe5857
Pipeline #46589 passed with stage
in 36 minutes and 57 seconds
......@@ -35,6 +35,9 @@ test:
system:
stage: test
script:
- CHROME_VERSION=$(google-chrome --version | sed -r 's/[^0-9]+([0-9]+\.[0-9]+\.[0-9]+).*/\1/g')
- CHROMEDRIVER_VERSION=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION)
- bundle exec chromedriver-update $CHROMEDRIVER_VERSION
- bundle exec rails test:system
artifacts:
paths:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment