mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Fix flaky spec
This commit is contained in:
@@ -121,7 +121,7 @@ feature "As a consumer I want to shop with a distributor", js: true do
|
||||
expect(page).not_to have_selector "tr.product-cart"
|
||||
within('product:not(.ng-leave)') { fill_in "variants[#{variant.id}]", with: 1 }
|
||||
|
||||
toggle_cart
|
||||
wait_for_cart
|
||||
within(".cart-sidebar") { expect(page).to have_content with_currency(19.99) }
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user