From 01337c12f012ceb47bf2c669385ece7f870e20b2 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Mon, 30 Sep 2024 12:03:29 +1000 Subject: [PATCH] Post rebase, fix product cloning spec --- spec/system/admin/products_v3/actions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/products_v3/actions_spec.rb b/spec/system/admin/products_v3/actions_spec.rb index 872b19ae7d..9435ca128a 100644 --- a/spec/system/admin/products_v3/actions_spec.rb +++ b/spec/system/admin/products_v3/actions_spec.rb @@ -302,7 +302,7 @@ RSpec.describe 'As an enterprise user, I can manage my products' do # The page has not been reloaded so the product's name is still "Apples" click_product_clone "Apples" - expect(page).to have_content "Unable to clone the product" + expect(page).to have_content "Product Name is too long (maximum is 255 characters)" within "table.products" do # Products does not include the cloned product.