mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-09 03:20:21 +00:00
Try reverting shopping_spec
This commit is contained in:
committed by
Matt-Yorkley
parent
2acc339341
commit
1ac2e1a8a6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user