From a6fdefff089c390da2bda81e3c01fb80aa84ff43 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 27 Oct 2022 21:25:45 +0100 Subject: [PATCH] Changes click method making it overlap-safe --- spec/system/admin/bulk_product_update_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/bulk_product_update_spec.rb b/spec/system/admin/bulk_product_update_spec.rb index 0493b5719a..1275a15203 100644 --- a/spec/system/admin/bulk_product_update_spec.rb +++ b/spec/system/admin/bulk_product_update_spec.rb @@ -319,7 +319,7 @@ describe ' it "creating a variant with unit value is: '120g' and 'on_demand' checked" do within "tr#v_#{Spree::Variant.second.id}" do - page.find(".add-variant").click + page.find(".add-variant").trigger("click") end within "tr#v_-1" do