From 00b7f24c0a32670e7928cecca4115c3252917020 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 872b19ae7db..9435ca128ab 100644 --- a/spec/system/admin/products_v3/actions_spec.rb +++ b/spec/system/admin/products_v3/actions_spec.rb @@ -302,7 +302,7 @@ def save_preferences # 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.