diff --git a/spec/system/admin/products_v3/actions_spec.rb b/spec/system/admin/products_v3/actions_spec.rb index f22d7c3b145..0da32832a62 100644 --- a/spec/system/admin/products_v3/actions_spec.rb +++ b/spec/system/admin/products_v3/actions_spec.rb @@ -493,13 +493,14 @@ def expect_other_columns_visible within "#product-preview-modal" do # Shop tab - expect(page).to have_selector("h3 a span", text: "Apples") + expect(page).to have_selector("h3", text: "Apples") add_buttons = page.all(".add-variant") expect(add_buttons.length).to eql(2) # Product Details tab find("a", text: "Product details").click # click_link doesn't work expect(page).to have_selector("h3", text: "Apples") + expect(page).to have_selector(".product-img") # Closing the modal click_button "Close"