From 1ac2e1a8a6b7a3aa099545910588092235a7f972 Mon Sep 17 00:00:00 2001 From: Nihal Mohammed Date: Fri, 2 Jul 2021 23:00:33 +0530 Subject: [PATCH] Try reverting shopping_spec --- spec/features/consumer/shopping/shopping_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/consumer/shopping/shopping_spec.rb b/spec/features/consumer/shopping/shopping_spec.rb index a31d0c08f9..1261fd6ba1 100644 --- a/spec/features/consumer/shopping/shopping_spec.rb +++ b/spec/features/consumer/shopping/shopping_spec.rb @@ -188,13 +188,13 @@ feature "As a consumer I want to shop with a distributor", js: true do expect(page).to have_selector("product", count: 10) scroll_to(page.find(".product-listing"), align: :bottom) expect(page).to_not have_content "Loading..." - expect(page).to have_selector("product", count: 21) + expect(page).to have_selector("product", count: 20) scroll_to(page.find("distributor")) select "turtles", from: "order_cycle_id" expect(page).to have_selector("product", count: 10) scroll_to(page.find(".product-listing"), align: :bottom) - expect(page).to have_selector("product", count: 21) + expect(page).to have_selector("product", count: 20) end end end