Pay with saved bank account

This commit is contained in:
Benjamin Beganović 2021-10-13 15:41:32 +02:00
parent ce8b2c76a1
commit 25525308fc

View File

@ -97,4 +97,18 @@ class SEPATest extends DuskTestCase
->waitForText('Details of the payment', 60);
});
}
public function testPayWithSavedBankAccount()
{
$this->browse(function (Browser $browser) {
$browser
->visitRoute('client.invoices.index')
->click('@pay-now')
->click('@pay-now-dropdown')
->clickLink('SEPA Direct Debit')
->click('.toggle-payment-with-token')
->click('#pay-now')
->waitForText('Details of the payment', 60);
});
}
}