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 spec

Christophe Bliard46c83343f9d9
diff --git a/spec/features/activities/work_package/activities_spec.rb b/spec/features/activities/work_package/activities_spec.rb
index 73ad5d2fd03..7a40c12d696 100644
--- a/spec/features/activities/work_package/activities_spec.rb
+++ b/spec/features/activities/work_package/activities_spec.rb
@@ -544,7 +544,7 @@ RSpec.describe "Work package activity", :js, :with_cuprite do
# expect all journal entries
activity_tab.expect_journal_notes(text: "First comment by admin")
activity_tab.expect_journal_notes(text: "Second comment by admin")
- activity_tab.expect_journal_changed_attribute(text: "Subject")
+ activity_tab.expect_journal_changed_attribute(text: "A new subject")
activity_tab.filter_journals(:only_comments)