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

Remove no more relevant test

Christophe Bliardd82dd3c89e55
diff --git a/spec/features/work_packages/datepicker/datepicker_logic_spec.rb b/spec/features/work_packages/datepicker/datepicker_logic_spec.rb
index 63889ec1b8b..5b3d6ff98ee 100644
--- a/spec/features/work_packages/datepicker/datepicker_logic_spec.rb
+++ b/spec/features/work_packages/datepicker/datepicker_logic_spec.rb
@@ -232,30 +232,6 @@ RSpec.describe "Datepicker modal logic test cases (WP #43539)", :js, with_settin
end
end
- describe "when all values set, removing duration through icon (scenario 6a)",
- skip: "TODO: the duration field no longer has a 'x' icon to clear the field. " \
- "If it's not to be added back, we should remove this test." do
- let(:current_attributes) do
- {
- start_date: Date.parse("2021-02-09"),
- due_date: Date.parse("2021-02-12"),
- duration: 3
- }
- end
-
- it "also unsets the due date" do
- datepicker.expect_start_date "2021-02-09"
- datepicker.expect_due_date "2021-02-12"
- datepicker.expect_duration 3
-
- datepicker.clear_duration
-
- datepicker.expect_start_date "2021-02-09"
- datepicker.expect_due_date ""
- datepicker.expect_duration nil
- end
- end
-
describe "when all values set, removing duration and setting due date back again" do
let(:current_attributes) do
{