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

Make filling custom_actions forms faster

Christophe Bliarde20ae8c64d29
diff --git a/spec/support/pages/admin/custom_actions/form.rb b/spec/support/pages/admin/custom_actions/form.rb
index 2272dc09ce0..3ad545ace4f 100644
--- a/spec/support/pages/admin/custom_actions/form.rb
+++ b/spec/support/pages/admin/custom_actions/form.rb
@@ -111,10 +111,10 @@ module Pages
Array(value).each do |val|
within field do
- if has_selector?('.form--selected-value--container', wait: 1)
+ if has_selector?('.form--selected-value--container', wait: 0)
find('.form--selected-value--container').click
autocomplete = true
- elsif has_selector?('.autocomplete-select-decoration--wrapper', wait: 1)
+ elsif has_selector?('.autocomplete-select-decoration--wrapper', wait: 0)
autocomplete = true
end