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_workflow_form_spec
Jonas Jabaric0919b2d0256
diff --git a/spec/features/work_packages/work_package_workflow_form_spec.rb b/spec/features/work_packages/work_package_workflow_form_spec.rbindex a77e07a59f3..af7d429baec 100644--- a/spec/features/work_packages/work_package_workflow_form_spec.rb+++ b/spec/features/work_packages/work_package_workflow_form_spec.rb@@ -58,6 +58,7 @@ RSpec.describe "Work package transitive status workflows", :js dowork_packageendlet(:wp_page) { Pages::FullWorkPackage.new(work_package) }+ let(:activity_tab) { Components::WorkPackages::Activities.new(work_package) }let(:status_from) { work_package.status }let(:status_intermediate) { create(:status) }@@ -93,14 +94,16 @@ RSpec.describe "Work package transitive status workflows", :js dowp_page.update_attributes status: status_intermediate.namewp_page.expect_attributes status: status_intermediate.name- wp_page.expect_activity_message "Status changed from #{status_from.name} " \- "to #{status_intermediate.name}"+ activity_tab.expect_journal_changed_attribute(+ text: "Status changed from #{status_from.name} to #{status_intermediate.name}"+ )wp_page.update_attributes status: status_to.namewp_page.expect_attributes status: status_to.name- wp_page.expect_activity_message "Status changed from #{status_from.name} " \- "to #{status_to.name}"+ activity_tab.expect_journal_changed_attribute(+ text: "Status changed from #{status_from.name} to #{status_to.name}"+ )work_package.reloadexpect(work_package.status).to eq(status_to)