From 26165cc08d70c577eece5ad092b3b86e1bd233d3 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Fri, 11 Dec 2020 00:20:58 +0000 Subject: [PATCH] Adapt matcher to capybara v3 --- spec/features/admin/bulk_product_update_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/admin/bulk_product_update_spec.rb b/spec/features/admin/bulk_product_update_spec.rb index 93c1aa9823..3692cb26c1 100644 --- a/spec/features/admin/bulk_product_update_spec.rb +++ b/spec/features/admin/bulk_product_update_spec.rb @@ -329,7 +329,7 @@ feature ' expect(page).to have_field "variant_price", with: "3.0" expect(page).to have_field "variant_unit_value_with_description", with: "250 (bottle)" expect(page).to have_field "variant_on_hand", with: "9" - expect(page).to have_selector "span[name='on_hand']", "9" + expect(page).to have_selector "span[name='on_hand']", text: "9" select "Volume (L)", from: "variant_unit_with_scale" fill_in "variant_sku", with: "NEWSKU"