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
Update tests that look for 'Subprojects' to use 'Include subprojects' instead
Mir Bhatia41d5b2f030b8
diff --git a/spec/features/activities/activity_page_navigation_spec.rb b/spec/features/activities/activity_page_navigation_spec.rbindex 9ee14a1d96e..4b6ffa03ffd 100644--- a/spec/features/activities/activity_page_navigation_spec.rb+++ b/spec/features/activities/activity_page_navigation_spec.rb@@ -64,7 +64,7 @@ describe 'Activity page navigation' doexpect(page).to have_link(text: /#{subproject_older_work_package.subject}/)- uncheck 'Subprojects'+ uncheck 'Include subprojects'click_button 'Apply'# Still on the same page. Filters applied. subproject work package created@@ -80,9 +80,9 @@ describe 'Activity page navigation' doaggregate_failures do# Subprojects is initially checked or not depending on a settingif Setting.display_subprojects_work_packages?- expect(page).to have_checked_field('Subprojects')+ expect(page).to have_checked_field('Include subprojects')else- expect(page).to have_unchecked_field('Subprojects')+ expect(page).to have_unchecked_field('Include subprojects')end# work packages for both projects are visible@@ -92,11 +92,11 @@ describe 'Activity page navigation' do.to have_link(text: /#{subproject_work_package.subject}/)end- uncheck 'Subprojects'+ uncheck 'Include subprojects'click_button 'Apply'aggregate_failures do- expect(page).to have_unchecked_field('Subprojects')+ expect(page).to have_unchecked_field('Include subprojects')expect(page).to have_link(text: /#{project_work_package.subject}/)# work packages for subproject is not visible anymore@@ -108,7 +108,7 @@ describe 'Activity page navigation' doaggregate_failures do# Subprojects should still be unchecked, bug #45348- expect(page).to have_unchecked_field('Subprojects')+ expect(page).to have_unchecked_field('Include subprojects')expect(page).to have_link(text: /#{project_older_work_package.subject}/)@@ -121,7 +121,7 @@ describe 'Activity page navigation' doaggregate_failures do# Subprojects should still be unchecked, bug #45348- expect(page).to have_unchecked_field('Subprojects')+ expect(page).to have_unchecked_field('Include subprojects')expect(page).to have_link(text: /#{project_work_package.subject}/)