OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/spec/support/selenium_hub_waiter.rb

9 lines
233 B

module SeleniumHubWaiter
module_function
# frontend not fast enough to bind click handlers on buttons?
# only happens when using the Selenium Hub
def wait
sleep 1 if ENV.fetch("SELENIUM_GRID_URL", "").present?
end
end