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

Update time_logging_modal helper to find hidden field

Dombi Attila2c885576cc6c
diff --git a/spec/features/support/components/time_logging_modal.rb b/spec/features/support/components/time_logging_modal.rb
index 9a18f8a5c32..e17021be778 100644
--- a/spec/features/support/components/time_logging_modal.rb
+++ b/spec/features/support/components/time_logging_modal.rb
@@ -61,7 +61,7 @@ module Components
def has_field_with_value(field, value)
within modal_container do
- expect(page).to have_field field_identifier(field), with: value
+ expect(page).to have_field field_identifier(field), with: value, visible: :all
end
end