mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Credit card: Pay with saved card
This commit is contained in:
parent
f6ee61d985
commit
fc2094b951
@ -77,6 +77,20 @@ class CreditCardTest extends DuskTestCase
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testPayWithSavedCreditCard()
|
||||||
|
{
|
||||||
|
$this->browse(function (Browser $browser) {
|
||||||
|
$browser
|
||||||
|
->visitRoute('client.invoices.index')
|
||||||
|
->click('@pay-now')
|
||||||
|
->click('@pay-now-dropdown')
|
||||||
|
->clickLink('Credit Card')
|
||||||
|
->click('.toggle-payment-with-token')
|
||||||
|
->click('#pay-now')
|
||||||
|
->waitForText('Details of the payment', 60);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
public function testAddingCreditCardStandalone()
|
public function testAddingCreditCardStandalone()
|
||||||
{
|
{
|
||||||
$this->browse(function (Browser $browser) {
|
$this->browse(function (Browser $browser) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user