Make order spec click clearer

This commit is contained in:
Meron Ogbai
2021-09-11 13:37:14 +03:00
parent a065a92616
commit 94ff59ebab

View File

@@ -144,7 +144,7 @@ feature '
fill_in(:quantity, with: max_quantity + 1)
find("a.save-item").click
end
find("button.confirm").click
click_button("OK")
expect(page).to_not have_content "Loading..."
within("tr.stock-item", text: order.products.first.name) do