mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Gateways: WePay: Credit card: Pay with existing card
This commit is contained in:
parent
8fe01cec86
commit
4a70d74354
@ -75,4 +75,18 @@ class CreditCardTest extends DuskTestCase
|
|||||||
->assertSee('4018');
|
->assertSee('4018');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testPayWithSavedCreditCard()
|
||||||
|
{
|
||||||
|
$this->browse(function (Browser $browser) {
|
||||||
|
$browser
|
||||||
|
->visitRoute('client.invoices.index')
|
||||||
|
->click('@pay-now')
|
||||||
|
->press('Pay Now')
|
||||||
|
->clickLink('Credit Card')
|
||||||
|
->click('.toggle-payment-with-token')
|
||||||
|
->press('Pay Now')
|
||||||
|
->waitForText('Details of the payment', 60);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user