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

Try to wait for the ng-select to have loaded options before reading them

Christophe Bliard057194e51b63
diff --git a/spec/support/components/common/filters.rb b/spec/support/components/common/filters.rb
index f218f3585fa..42bc90d5eb0 100644
--- a/spec/support/components/common/filters.rb
+++ b/spec/support/components/common/filters.rb
@@ -109,6 +109,7 @@ module Components
within(selected_filter) do
find('[data-filter-autocomplete="true"]').click
end
+ wait_for_network_idle if using_cuprite?
options = visible_user_auto_completer_options
expect(options).to eq(expected_options)