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

Fix flaky bcf_view_management_spec.rb:67 spec

Christophe Bliard3c073f163b8e
diff --git a/spec/support/components/work_packages/filters.rb b/spec/support/components/work_packages/filters.rb
index 3d076f443f3..bddce165ed9 100644
--- a/spec/support/components/work_packages/filters.rb
+++ b/spec/support/components/work_packages/filters.rb
@@ -110,6 +110,10 @@ module Components
add_filter(name)
set_filter(name, operator, value, selector)
+
+ # Wait for the debounce of the filter input to apply filters
+ # See frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.ts:69
+ sleep 0.5
end
def set_operator(name, operator, selector = nil)