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

Stop raising pending connection errors in ferrum

Dombi Attilafcdce72bb4f4
diff --git a/spec/support/cuprite_setup.rb b/spec/support/cuprite_setup.rb
index f85bfae5a1e..ebc84fc23be 100644
--- a/spec/support/cuprite_setup.rb
+++ b/spec/support/cuprite_setup.rb
@@ -66,6 +66,9 @@ def register_better_cuprite(language, name: :"better_cuprite_#{language}")
Capybara.register_driver(name) do |app|
options = {
process_timeout: 20,
+ timeout: 10,
+ # In case the timeout is not enough, this option can be activated:
+ # pending_connection_errors: false,
inspector: true,
headless: headless_mode?,
window_size: [1920, 1080]