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

Backport date-related flickering test fix

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