mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Expect custom modal instead of alert in order spec
This commit is contained in:
@@ -144,7 +144,7 @@ feature '
|
||||
fill_in(:quantity, with: max_quantity + 1)
|
||||
find("a.save-item").click
|
||||
end
|
||||
accept_js_alert
|
||||
find("button.confirm").click
|
||||
|
||||
expect(page).to_not have_content "Loading..."
|
||||
within("tr.stock-item", text: order.products.first.name) do
|
||||
|
||||
Reference in New Issue
Block a user