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

Move network idle into perform_enqueued_jobs

Oliver Güntherc09f4bbfaa1a
diff --git a/spec/features/news/creation_and_commenting_spec.rb b/spec/features/news/creation_and_commenting_spec.rb
index d97564a37e8..36cf66c114d 100644
--- a/spec/features/news/creation_and_commenting_spec.rb
+++ b/spec/features/news/creation_and_commenting_spec.rb
@@ -54,6 +54,7 @@ RSpec.describe "News creation and commenting", :js, :with_cuprite do
perform_enqueued_jobs do
click_button "Create"
+ wait_for_network_idle
end
# The new news is visible on the index page