mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added EPS-Test
This commit is contained in:
parent
bcc0f39923
commit
13894b0541
@ -48,8 +48,6 @@ class EPSTest extends DuskTestCase
|
||||
$cg->fees_and_limits = $fees_and_limits;
|
||||
$cg->save();
|
||||
|
||||
// SOFORT required ['AUT', 'BEL', 'DEU', 'ITA', 'NLD', 'ESP'] to be billing country.
|
||||
// Setting country to DEU (276).
|
||||
$client = Client::first();
|
||||
$client->country_id = 276;
|
||||
$client->save();
|
||||
@ -63,8 +61,12 @@ class EPSTest extends DuskTestCase
|
||||
->click('@pay-now')
|
||||
->press('Pay Now')
|
||||
->clickLink('EPS')
|
||||
->press('Pay Now')
|
||||
->waitForText('Sofort test payment page', 120)
|
||||
->type('#eps-name', 'John Doe')
|
||||
->withinFrame('iframe', function (Browser $browser) {
|
||||
$browser->type('eps', '12345');
|
||||
})
|
||||
->click('#pay-now')
|
||||
->waitForText('EPS test payment page', 120)
|
||||
->press('.common-Button.common-Button--default')
|
||||
->waitForText('Details of the payment', 60);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user