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

Speed up tests

Christophe Bliard00176613bb08
diff --git a/spec/support/edit_fields/edit_field.rb b/spec/support/edit_fields/edit_field.rb
index 119fc5b09ad..ba8bea4bffd 100644
--- a/spec/support/edit_fields/edit_field.rb
+++ b/spec/support/edit_fields/edit_field.rb
@@ -52,7 +52,7 @@ class EditField
end
def display_trigger_element
- if display_element.has_selector?(".inline-edit--display-trigger")
+ if display_element.has_selector?(".inline-edit--display-trigger", wait: 0)
display_element.find(".inline-edit--display-trigger")
else
display_element