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
Address specs that are now correct
Oliver Günther0c56632c5e09
diff --git a/spec/features/notifications/notification_center/split_screen_spec.rb b/spec/features/notifications/notification_center/split_screen_spec.rbindex 1749a2e354d..36d846d0ca4 100644--- a/spec/features/notifications/notification_center/split_screen_spec.rb+++ b/spec/features/notifications/notification_center/split_screen_spec.rb@@ -98,7 +98,7 @@ RSpec.describe "Split screen in the notification center", :js, :with_cuprite docenter.click_item notificationsleep 0.25 # Wait after the item has been clicked to not be interpreted as a double clickcenter.mark_notification_as_read notification- global_html_title.expect_first_segment second_title+ global_html_title.expect_first_segment "#{second_title} | Notifications"# After making all notifications as read, html title should show the base routecenter.mark_notification_as_read second_notificationdiff --git a/spec/features/work_packages/navigation_spec.rb b/spec/features/work_packages/navigation_spec.rbindex 7e6240e7d7b..2676991e3d6 100644--- a/spec/features/work_packages/navigation_spec.rb+++ b/spec/features/work_packages/navigation_spec.rb@@ -62,7 +62,7 @@ RSpec.describe "Work package navigation", :js, :selenium doglobal_work_packages.visit!global_work_packages.expect_work_package_listed(work_package)- global_html_title.expect_first_segment "All open"+ global_html_title.expect_first_segment "All open | Work Packages"# open details pane for work package@@ -70,14 +70,14 @@ RSpec.describe "Work package navigation", :js, :selenium dosplit_work_package.expect_subjectsplit_work_package.expect_current_path- global_html_title.expect_first_segment wp_title_segment+ global_html_title.expect_first_segment "#{wp_title_segment} | Work Packages"# Go to full screen by double clickfull_work_package = global_work_packages.open_full_screen_by_doubleclick(work_package)full_work_package.expect_subjectfull_work_package.expect_current_path- global_html_title.expect_first_segment wp_title_segment+ global_html_title.expect_first_segment "#{wp_title_segment} | Work Packages"# deep link work package details pane@@ -97,17 +97,17 @@ RSpec.describe "Work package navigation", :js, :selenium doproject_work_packages.visit!project_work_packages.expect_work_package_listed(work_package)- project_html_title.expect_first_segment "All open"+ project_html_title.expect_first_segment "All open | Work Packages"# Visit query with project wpproject_work_packages.visit_query queryproject_work_packages.expect_work_package_listed(work_package)- project_html_title.expect_first_segment "My fancy query"+ project_html_title.expect_first_segment "My fancy query | Work Packages"# Go back to work packages without querypage.execute_script("window.history.back()")project_work_packages.expect_work_package_listed(work_package)- project_html_title.expect_first_segment "All open"+ project_html_title.expect_first_segment "All open | Work Packages"# open project work package details pane@@ -115,19 +115,19 @@ RSpec.describe "Work package navigation", :js, :selenium dosplit_project_work_package.expect_subjectsplit_project_work_package.expect_current_path- project_html_title.expect_first_segment wp_title_segment+ project_html_title.expect_first_segment "#{wp_title_segment} | Work Packages"# open work package full screen by buttonfull_work_package = split_project_work_package.switch_to_fullscreenfull_work_package.expect_subjectexpect(page).to have_current_path project_work_package_path(project, work_package, "activity")- project_html_title.expect_first_segment wp_title_segment+ project_html_title.expect_first_segment "#{wp_title_segment} | Work Packages"# Switch tabsfull_work_package.switch_to_tab tab: :relationsexpect(page).to have_current_path project_work_package_path(project, work_package, "relations")- project_html_title.expect_first_segment wp_title_segment+ project_html_title.expect_first_segment "#{wp_title_segment} | Work Packages"# Back to split screen using the buttonfull_work_package.go_back