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
Clear duration field with backspace
Oliver Günther57038e17a218
diff --git a/spec/support/components/datepicker/work_package_datepicker.rb b/spec/support/components/datepicker/work_package_datepicker.rbindex d3e1a3fa96a..39bd9fd5550 100644--- a/spec/support/components/datepicker/work_package_datepicker.rb+++ b/spec/support/components/datepicker/work_package_datepicker.rb@@ -162,12 +162,8 @@ module Componentsenddef clear_duration- duration = find_field 'duration'- duration.click-- container- .find('[data-qa-selector="datepicker-duration"] .spot-text-field--clear-button')- .click+ duration_field.click+ fill_in 'duration', with: '', fill_options: { clear: :backspace }# Focus a different fieldstart_date_field.click