mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-12 23:27:48 +00:00
Change out of stock message in spec. Now the checkout controller is returning the error message, not the line items validator
This commit is contained in:
@@ -401,7 +401,7 @@ feature "As a consumer I want to check out my cart", js: true, retry: 3 do
|
||||
|
||||
page.should_not have_content "Your order has been processed successfully"
|
||||
page.should have_selector 'closing', text: "Your shopping cart"
|
||||
page.should have_content "Out Of Stock"
|
||||
page.should have_content "An item in your cart has become unavailable."
|
||||
end
|
||||
|
||||
context "when we are charged a shipping fee" do
|
||||
|
||||
Reference in New Issue
Block a user