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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
make features spec work with chromium installed with snap
Christophe Bliard878e0abe9638
diff --git a/spec/support/browsers/chrome.rb b/spec/support/browsers/chrome.rbindex 882d696d415..ff269458088 100644--- a/spec/support/browsers/chrome.rb+++ b/spec/support/browsers/chrome.rb@@ -53,7 +53,13 @@ def register_chrome(language, name: :"chrome_#{language}")if is_griddriver_opts[:url] = ENV['SELENIUM_GRID_URL']else+ if Webdrivers::ChromeFinder.location == '/snap/bin/chromium'+ # make chromium snap install work out-of-the-box+ # See https://stackoverflow.com/a/65121582/177665+ chromedriver_path = '/snap/bin/chromium.chromedriver'+ enddriver_opts[:service] = ::Selenium::WebDriver::Service.chrome(+ path: chromedriver_path,args: { verbose: true, log_path: '/tmp/chromedriver.log' })end