mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Test paying with ACH
This commit is contained in:
parent
3b22fc5e17
commit
a89f5a8fc0
@ -63,4 +63,18 @@ class ACHTest extends DuskTestCase
|
|||||||
->assertSee('Added payment method.');
|
->assertSee('Added payment method.');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testPayingWithExistingACH()
|
||||||
|
{
|
||||||
|
$this->browse(function (Browser $browser) {
|
||||||
|
$browser
|
||||||
|
->visitRoute('client.invoices.index')
|
||||||
|
->click('@pay-now')
|
||||||
|
->press('Pay Now')
|
||||||
|
->clickLink('Bank Transfer')
|
||||||
|
->click('.toggle-payment-with-token')
|
||||||
|
->press('Pay Now')
|
||||||
|
->waitForText('Details of the payment', 60);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user