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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fixed work_package_activity_spec
Jonas Jabari8068326f7269
diff --git a/spec/features/activities/work_package_activity_spec.rb b/spec/features/activities/work_package_activity_spec.rbindex aa001271dfd..f03abbea46c 100644--- a/spec/features/activities/work_package_activity_spec.rb+++ b/spec/features/activities/work_package_activity_spec.rb@@ -46,6 +46,7 @@ RSpec.describe "Work package activity", :js dolet(:parent_page) { Pages::FullWorkPackage.new(parent) }let(:popover) { Components::WorkPackages::ProgressPopover.new }+ let(:activity_tab) { Components::WorkPackages::Activities.new(parent) }current_user { admin }@@ -56,17 +57,16 @@ RSpec.describe "Work package activity", :js dopopover.set_values(work: "100", remaining_time: "5")popover.saveparent_page.expect_and_dismiss_toaster(message: "Successful update.")+ parent_page.wait_for_activity_tabendit "displays changed attributes in the activity tab", :aggregate_failures do- within("activity-entry", text: admin.name) do- expect(page).to have_list_item(text: "% Complete set to 95%")- expect(page).to have_list_item(text: "Work set to 100h")- expect(page).to have_list_item(text: "Remaining work set to 5h")- expect(page).to have_list_item(text: "Total work set to 110h")- expect(page).to have_list_item(text: "Total remaining work set to 8h")- expect(page).to have_list_item(text: "Total % complete set to 93%")- end+ activity_tab.expect_journal_changed_attribute(text: "% Complete set to 95%")+ activity_tab.expect_journal_changed_attribute(text: "Work set to 100h")+ activity_tab.expect_journal_changed_attribute(text: "Remaining work set to 5h")+ activity_tab.expect_journal_changed_attribute(text: "Total work set to 110h")+ activity_tab.expect_journal_changed_attribute(text: "Total remaining work set to 8h")+ activity_tab.expect_journal_changed_attribute(text: "Total % complete set to 93%")endendend