Preconditions:
The user has navigated to Settings->Invoices->Approvals
Approve and pay in one click is checked
Steps:
Create Open invoice
Create invoice line(s) from POL(s)
Click approve and pay (See note below)
Expected conditions:
(Note: Known issue that this may throw an error, bug is created MODINVOICE-149 so you may not be able to pay invoice until that is released. Hoping to release by March 27)
Invoice is marked as paid
Voucher information is populated
Voucher is marked as paid