mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
0b87e7543f
Rolling out frozen string literals further by freezing all string literals in core specs.
12 lines
264 B
Ruby
12 lines
264 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|