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

stabilize flickering spec

ulferts4c4f13a6635e
diff --git a/modules/reporting/spec/features/me_value_spec.rb b/modules/reporting/spec/features/me_value_spec.rb
index a045550976a..753ac2b529a 100644
--- a/modules/reporting/spec/features/me_value_spec.rb
+++ b/modules/reporting/spec/features/me_value_spec.rb
@@ -58,7 +58,7 @@ describe 'Cost report showing my own times', type: :feature, js: true do
expect(page).to have_no_selector('.report', text: '10.00')
expect(page).to have_selector('.report', text: '15.00')
- expect(find("##{filter_selector}").value).to eq 'me'
+ expect(page).to have_field(filter_selector, text: 'me')
end
end