1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Gateways: Stripe: ACH: Paying with existing ACH account

This commit is contained in:
Benjamin Beganović 2021-07-07 14:26:33 +02:00
parent 1ec2630c6c
commit 38c7e84b21

View File

@ -71,4 +71,18 @@ class ACHTest extends DuskTestCase
->assertSee('Bank Transfer');
});
}
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);
});
}
}