Test paying with ACH
This commit is contained in:
parent
3b22fc5e17
commit
a89f5a8fc0
1 changed files with 14 additions and 0 deletions
|
|
@ -63,4 +63,18 @@ class ACHTest extends DuskTestCase
|
|||
->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…
Add table
Reference in a new issue