From 96c6f58ba2726ea8baf5868331b830b58c76fda5 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Fri, 14 Oct 2022 03:23:18 +0100 Subject: [PATCH] fix test @/spec/system/admin/products_spec.rb:32 --- spec/system/admin/products_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/products_spec.rb b/spec/system/admin/products_spec.rb index 0595ec2259..7918d52983 100644 --- a/spec/system/admin/products_spec.rb +++ b/spec/system/admin/products_spec.rb @@ -59,7 +59,7 @@ describe ' expect(page).to have_field 'product_on_demand', checked: true expect(page).to have_field 'product_tax_category_id', with: tax_category.id expect(page.find("div[id^='taTextElement']")).to have_content 'A description...' - expect(page.find("#product_units_field")).to have_content 'Weight (kg)' + expect(page.find("#product_variant_unit_field")).to have_content 'Weight (kg)' expect(page).to have_content "Name can't be blank" end