mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update shopping_spec to work with Selenium
This commit is contained in:
committed by
luisramos0
parent
1923c0dbc6
commit
bbaf6359f3
@@ -103,7 +103,9 @@ feature "As a consumer I want to shop with a distributor", js: true do
|
||||
within("li.cart") { page.should have_content with_currency(1020.99) }
|
||||
|
||||
# -- Changing order cycle
|
||||
select "frogs", from: "order_cycle_id"
|
||||
accept_alert do
|
||||
select "frogs", from: "order_cycle_id"
|
||||
end
|
||||
page.should have_content with_currency(19.99)
|
||||
|
||||
# -- Cart should be cleared
|
||||
|
||||
Reference in New Issue
Block a user