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

Hide the datepicker after entering dates in the users hourly rates spec

Dombi Attila0741980c1ea7
diff --git a/modules/costs/spec/features/users_hourly_rates_spec.rb b/modules/costs/spec/features/users_hourly_rates_spec.rb
index e377d2d0a63..00f18491373 100644
--- a/modules/costs/spec/features/users_hourly_rates_spec.rb
+++ b/modules/costs/spec/features/users_hourly_rates_spec.rb
@@ -91,6 +91,7 @@ describe 'hourly rates on user edit', js: true do
click_link 'Satz hinzufügen'
fill_in "user_new_rate_attributes_1_valid_from", with: (Time.zone.today + 1.day).iso8601
+ find("input#user_new_rate_attributes_1_valid_from").send_keys :escape
fill_in "user_new_rate_attributes_1_rate", with: '5,12'
click_button 'Speichern'