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

Forward arguments given to wait_for_network_idle

Christophe Bliard76d32db35343
diff --git a/spec/support/shared/cuprite_helpers.rb b/spec/support/shared/cuprite_helpers.rb
index 3952373f022..18e7f15d0c2 100644
--- a/spec/support/shared/cuprite_helpers.rb
+++ b/spec/support/shared/cuprite_helpers.rb
@@ -35,8 +35,8 @@
# This is especially helpful as it doesn't depend on DOM elements
# being present or gone. Instead the execution is halted until
# requested data is done being fetched.
-def wait_for_network_idle
- page.driver.wait_for_network_idle
+def wait_for_network_idle(...)
+ page.driver.wait_for_network_idle(...)
end
# Takes the above `wait_for_network_idle` a step further by waiting