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
Fix cost reporting project switch spec
Benjamin Bädorf471bbaa6b71b
diff --git a/modules/reporting/spec/features/project_context_spec.rb b/modules/reporting/spec/features/project_context_spec.rbindex b858ca136e9..eb7b9c3add2 100644--- a/modules/reporting/spec/features/project_context_spec.rb+++ b/modules/reporting/spec/features/project_context_spec.rb@@ -16,9 +16,9 @@ describe 'Cost report project context', type: :feature, js: true doit "switches the project context when visiting another project's cost report" dovisit cost_reports_path(project1)- expect(page).to have_selector('#project_id_arg_1_val option', text: project1.name)+ expect(page).to have_selector('.ng-value-label', text: project1.name)visit cost_reports_path(project2)- expect(page).to have_selector('#project_id_arg_1_val option', text: project2.name)+ expect(page).to have_selector('.ng-value-label', text: project2.name)endend