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

Clear with backspace to not trigger blur

Oliver Günther71a6f734fc0e
diff --git a/spec/features/work_packages/details/custom_fields/custom_field_spec.rb b/spec/features/work_packages/details/custom_fields/custom_field_spec.rb
index de9963c7a87..312d68414fe 100644
--- a/spec/features/work_packages/details/custom_fields/custom_field_spec.rb
+++ b/spec/features/work_packages/details/custom_fields/custom_field_spec.rb
@@ -253,7 +253,7 @@ describe 'custom field inplace editor', js: true do
expect(work_package.custom_value_for(custom_field.id).formatted_value).to eq '03/30/2021'
field.activate!
- field.clear
+ field.clear with_backspace: true
field.submit_by_enter
field.expect_state_text '-'