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

Create enough comments > 1 page

Kabiru Mwenja448b32849c69
diff --git a/spec/features/activities/work_package/activities_spec.rb b/spec/features/activities/work_package/activities_spec.rb
index 378e165e87b..f4e471d8b1e 100644
--- a/spec/features/activities/work_package/activities_spec.rb
+++ b/spec/features/activities/work_package/activities_spec.rb
@@ -1035,7 +1035,7 @@ RSpec.describe "Work package activity", :js, :with_cuprite do
let(:work_package) { create(:work_package, project:, author: admin) }
# create enough comments to make the journal container scrollable
- 20.times do |i|
+ 25.times do |i|
let!(:"comment_#{i + 1}") do
create(:work_package_journal, user: admin, notes: "Comment #{i + 1}", journable: work_package, version: i + 2)
end