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

Better fix for a flickering test (date-related)

Christophe Bliardadb75a5c860f
diff --git a/spec/support/components/datepicker/datepicker.rb b/spec/support/components/datepicker/datepicker.rb
index ebec0c8b478..01ef8d1f311 100644
--- a/spec/support/components/datepicker/datepicker.rb
+++ b/spec/support/components/datepicker/datepicker.rb
@@ -58,7 +58,7 @@ module Components
flatpickr_container
.first(".numInput.cur-year")
.fill_in(with: value)
- .send_keys :right # to trigger a keyboard event to get the internal state of flatpickr updated
+ .send_keys :enter # to trigger a keyboard event to get the internal state of flatpickr updated
end
end