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

fixed working_days_spec

Jonas Jabaria4bda31c46ce
diff --git a/spec/features/admin/working_days_spec.rb b/spec/features/admin/working_days_spec.rb
index cfddfaad9ed..532365c8526 100644
--- a/spec/features/admin/working_days_spec.rb
+++ b/spec/features/admin/working_days_spec.rb
@@ -121,10 +121,11 @@ RSpec.describe "Working Days", :js, :with_cuprite do
# The updated work packages will have a journal entry informing about the change
wp_page = Pages::FullWorkPackage.new(earliest_work_package)
+ activity_tab = Components::WorkPackages::Activities.new(earliest_work_package)
wp_page.visit!
- wp_page.expect_activity_message(
- "Dates changed by changes to working days (Monday is now non-working, Friday is now non-working)"
+ activity_tab.expect_journal_changed_attribute(
+ text: "Dates changed by changes to working days (Monday is now non-working, Friday is now non-working)"
)
end