mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
An acceptable quantity of products is added to cart
This commit is contained in:
@@ -257,7 +257,6 @@ def select_order_cycle
|
||||
end
|
||||
|
||||
def add_product_to_cart
|
||||
|
||||
fill_in "variants[#{product.master.id}]", with: 5
|
||||
fill_in "variants[#{product.master.id}]", with: product.master.on_hand - 1
|
||||
first("form.custom > input.button.right").click
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user