mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
Add comment
This commit is contained in:
@@ -112,6 +112,7 @@ describe '
|
||||
expect(order.invoices.count).to eq 0
|
||||
page.find("#links-dropdown", text: "ACTIONS").click
|
||||
click_link "Print Invoice"
|
||||
# wait for PDF to open in new window
|
||||
new_window = windows.last
|
||||
page.within_window new_window do
|
||||
expect(order.invoices.count).to eq 1
|
||||
|
||||
Reference in New Issue
Block a user