From 894a11c9c113de0daa6a6ba331cd0f46158ffb18 Mon Sep 17 00:00:00 2001 From: Nihal Mohammed Date: Thu, 1 Jul 2021 18:56:56 +0530 Subject: [PATCH] Update shopping spec to fix CI error --- spec/features/consumer/shopping/shopping_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/features/consumer/shopping/shopping_spec.rb b/spec/features/consumer/shopping/shopping_spec.rb index 98467b6ab3..1261fd6ba1 100644 --- a/spec/features/consumer/shopping/shopping_spec.rb +++ b/spec/features/consumer/shopping/shopping_spec.rb @@ -187,6 +187,7 @@ feature "As a consumer I want to shop with a distributor", js: true do select "frogs", from: "order_cycle_id" 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: 20) scroll_to(page.find("distributor"))