Skip to content

Commit

Permalink
fix[#50499] Use primer test_selector feature
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-braeunlein committed Nov 22, 2023
1 parent 09f7415 commit 4f3995f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/breadcrumb_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
module BreadcrumbHelper
def full_breadcrumbs
items = breadcrumb_paths.compact
render(Primer::Beta::Breadcrumbs.new(data: { 'test-selector': "op-breadcrumb" })) do |breadcrumbs|
render(Primer::Beta::Breadcrumbs.new(test_selector: "op-breadcrumb" )) do |breadcrumbs|
items.each_with_index do |item, index|
item = anchor_string_to_object(item) if item.is_a?(String) && item.start_with?("\u003c")

Expand Down

0 comments on commit 4f3995f

Please sign in to comment.