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 test
Christophe Bliard68e9882c23a2
diff --git a/spec/features/work_packages/datepicker/datepicker_follows_relation_spec.rb b/spec/features/work_packages/datepicker/datepicker_follows_relation_spec.rbindex f2227df0c49..84963d954ee 100644--- a/spec/features/work_packages/datepicker/datepicker_follows_relation_spec.rb+++ b/spec/features/work_packages/datepicker/datepicker_follows_relation_spec.rb@@ -69,6 +69,12 @@ RSpec.describe "Datepicker logic on follow relationships", :js, with_settings: {datepicker.toggle_ignore_non_working_daysdatepicker.expect_ignore_non_working_days true+ # Toggling non-working days reinitializes the displayed flatpickr, which+ # shows the current date again. We need to wait for it to be reinitialized+ # before showing another date. Ideally the flatpickr should not be+ # reinitialized if it does not need to (dates not changed for instance).+ datepicker.expect_disabled Date.current+datepicker.show_date "2024-02-05"datepicker.expect_disabled Date.parse("2024-02-05")datepicker.expect_disabled Date.parse("2024-02-04")