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

chore[Op#40437]: delay 0.5 in between journal polling update (#17078)

Kabiru Mwenjab47bb4c669b5
diff --git a/spec/features/activities/work_package/activities_spec.rb b/spec/features/activities/work_package/activities_spec.rb
index 8a9ec6b0c85..e5968834e57 100644
--- a/spec/features/activities/work_package/activities_spec.rb
+++ b/spec/features/activities/work_package/activities_spec.rb
@@ -388,7 +388,7 @@ RSpec.describe "Work package activity", :js, :with_cuprite, with_flag: { primeri
first_journal.update!(notes: "First comment by member updated")
# properly updates the comment when the comment is updated
- wait_for { page }.to have_test_selector("op-journal-notes-body", text: "First comment by member updated")
+ wait(delay: 0.5).for { page }.to have_test_selector("op-journal-notes-body", text: "First comment by member updated")
end
end