diff --git a/spec/system/admin/products_v3/actions_spec.rb b/spec/system/admin/products_v3/actions_spec.rb index eac05fe05c..0c38fd3542 100644 --- a/spec/system/admin/products_v3/actions_spec.rb +++ b/spec/system/admin/products_v3/actions_spec.rb @@ -328,12 +328,10 @@ RSpec.describe 'As an enterprise user, I can perform actions on the products scr } describe "Actions columns (delete)" do - before do - visit admin_products_url - end - it "shows an actions menu with a delete link when clicking on icon for product. " \ "doesn't show delete link for the single variant" do + visit admin_products_url + within product_selector do page.find(".vertical-ellipsis-menu").click expect(page).to have_css(delete_option_selector)