diff --git a/travis/scripts/05-run.sh b/travis/scripts/05-run.sh index 5a540bf4527..98b1d964c87 100755 --- a/travis/scripts/05-run.sh +++ b/travis/scripts/05-run.sh @@ -47,9 +47,13 @@ launchCurlOrProtractor() { if [[ -f "gulpfile.js" ]]; then gulp itest --no-notification elif [[ -f "tsconfig.json" ]]; then - wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip - unzip chromedriver_linux64.zip - yarn e2e --chromeDriver=./chromedriver + # Actually, `yarn e2e` could cause problems due to Github Search API rate limit. + # As we don't use gecko, we could use workaround below. + # See also https://github.com/angular/webdriver-manager/issues/216 + set -ex + webdriver-manager update --gecko false + find -name "chromedriver*" ! -name "*.zip" -exec yarn e2e --chromeDriver={} + + set +ex fi result=$? [ $result -eq 0 ] && break