Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Trigger download of chrome/chromedriver binaries in CI

Christophe Bliardc86e0aaf3ad2
diff --git a/docker/ci/entrypoint.sh b/docker/ci/entrypoint.sh
index 922e426f12f..095ac58dc2c 100755
--- a/docker/ci/entrypoint.sh
+++ b/docker/ci/entrypoint.sh
@@ -69,6 +69,10 @@ setup_tests() {
# create test database "app" and dump schema because db/structure.sql is not checked in
execute_quiet "time bundle exec rails db:migrate db:schema:dump zeitwerk:check"
+
+ # pre-cache browsers and their drivers binaries
+ execute "$(bundle show selenium)/bin/linux/selenium-manager --browser chrome --debug"
+ execute "$(bundle show selenium)/bin/linux/selenium-manager --browser firefox --debug"
}
run_units() {