Skip to content

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

Merge remote-tracking branch 'origin/dev' into feature/47519-single-date-mode-for-work-package-date-pickers

ulfertsdbce86078235
diff --cc spec/features/work_packages/scheduling/scheduling_mode_spec.rb
index eedbbb6c2eb,5ac9e650ac4..ecbfa8f728e
--- a/spec/features/work_packages/scheduling/scheduling_mode_spec.rb
+++ b/spec/features/work_packages/scheduling/scheduling_mode_spec.rb
@@@ -183,9 -184,7 +184,11 @@@ RSpec.describe "scheduling mode", :js d
combined_field.activate!(expect_open: false)
combined_field.expect_active!
combined_field.toggle_scheduling_mode # toggle to automatic mode
+
+ wait_for_network_idle
+
+ combined_field.expect_automatic_scheduling_mode
++
combined_field.save!
work_packages_page.expect_and_dismiss_toaster message: "Successful update."
@@@ -216,11 -215,7 +219,12 @@@
combined_field.activate!(expect_open: false)
combined_field.expect_active!
combined_field.toggle_scheduling_mode # toggle to manual mode
+ combined_field.expect_manual_scheduling_mode
+
+ wait_for_network_idle
+
+ # The calendar needs some time to get initialized.
+ sleep 2
combined_field.expect_calendar
# Increasing the duration while at it
@@@ -258,9 -253,7 +262,10 @@@
combined_field.activate!(expect_open: false)
combined_field.expect_active!
combined_field.toggle_scheduling_mode
+ combined_field.expect_automatic_scheduling_mode
+
+ wait_for_network_idle
+
combined_field.save!
work_packages_page.expect_and_dismiss_toaster message: "Successful update."