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

Use proper test selector

Jens Ulferts57bc9081d240
diff --git a/app/components/filters_component.html.erb b/app/components/filters_component.html.erb
index 7c83b1b41d3..bf8ffc4594a 100644
--- a/app/components/filters_component.html.erb
+++ b/app/components/filters_component.html.erb
@@ -13,7 +13,7 @@
round: true,
hide_if_zero: false,
scheme: :default,
- data: { "test-selector": "filters-button-counter" })) %>
+ test_selector: "filters-button-counter" )) %>
<% end %>
<div class="op-filters-header-actions">
<% buttons.each do |button| %>