Skip to content

Commit

Permalink
fix[#50499] Use op-breadcrumb test_selector
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-braeunlein committed Nov 20, 2023
1 parent 4a55a14 commit 3603a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/storages/spec/features/admin_storages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@
######### End Edit Automatically managed project folders #########

# List of storages
page.find("ul.op-breadcrumb li", text: "File storages").click
page.find("#{test_selector('op-breadcrumb')} ol li", text: "File storages").click

# Delete on List page
page.find('td.buttons .icon-delete').click
Expand Down Expand Up @@ -763,7 +763,7 @@

expect(page).not_to have_css('.flash.flash-error')

within('.op-breadcrumb') do
within(test_selector('op-breadcrumb')) do
click_link 'File storages'
end

Expand Down

0 comments on commit 3603a07

Please sign in to comment.