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
Add missing values for test scenarios
Henriette Dargea6426d6e6702
diff --git a/spec/features/work_packages/details/date_editor_spec.rb b/spec/features/work_packages/details/date_editor_spec.rbindex 13930ff3754..e6914488115 100644--- a/spec/features/work_packages/details/date_editor_spec.rb+++ b/spec/features/work_packages/details/date_editor_spec.rb@@ -233,7 +233,7 @@ RSpec.describe "date inplace editor", :js, :selenium, with_settings: { date_formstart_date.expect_state_text Time.zone.today.strftime("%Y-%m-%d")end- it "can set a negative duration which gets transformed (Regression #44219)" do+ it "can set a negative duration which shows an error message (Regression #44219)" dostart_date.activate!start_date.expect_active!@@ -511,6 +511,8 @@ RSpec.describe "date inplace editor", :js, :selenium, with_settings: { date_formcontext "when work package is manually scheduled" dolet(:schedule_manually) { true }+ let(:wp_start_date) { nil }+ let(:wp_due_date) { nil }it "shows a banner that the relations are ignored" doexpect(page).to have_css(test_selector("op-modal-banner-warning").to_s,@@ -534,6 +536,8 @@ RSpec.describe "date inplace editor", :js, :selenium, with_settings: { date_formcontext "when work package is not manually scheduled" dolet(:schedule_manually) { false }+ let(:wp_start_date) { nil }+ let(:wp_due_date) { nil }it "shows a banner that the start date it set by the predecessor" doexpect(page).to have_css(test_selector("op-modal-banner-info").to_s,