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

Disable smooth scrolling in selenium firefox tests

Aaron Contrerased7ac18e359a
diff --git a/spec/support/browsers/firefox.rb b/spec/support/browsers/firefox.rb
index 3c51dd3d96f..3b3b0fb0e2f 100644
--- a/spec/support/browsers/firefox.rb
+++ b/spec/support/browsers/firefox.rb
@@ -22,6 +22,8 @@ def register_firefox(language, name: :"firefox_#{language}")
# only one FF process
profile['dom.ipc.processCount'] = 1
+ profile['general.smoothScroll'] = false
+
options = Selenium::WebDriver::Firefox::Options.new(profile:)
yield(profile, options) if block_given?