mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Tests: Open payments
This commit is contained in:
parent
e48018067b
commit
bc6719e4fb
@ -54,4 +54,21 @@ class IDEALTest extends DuskTestCase
|
||||
->assertSee('Completed');
|
||||
});
|
||||
}
|
||||
|
||||
public function testOpenPayments(): void
|
||||
{
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.invoices.index')
|
||||
->click('@pay-now')
|
||||
->press('Pay Now')
|
||||
->clickLink('iDEAL')
|
||||
->waitForText('Test profile')
|
||||
->press('ABN AMRO')
|
||||
->radio('final_state', 'open')
|
||||
->press('Continue')
|
||||
->waitForText('Details of the payment')
|
||||
->assertSee('Pending');
|
||||
});
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user