mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Tests: Pending payment
This commit is contained in:
parent
73581740df
commit
8b569f3f5a
@ -53,4 +53,20 @@ class BankTransferTest extends DuskTestCase
|
||||
->assertSee('Completed');
|
||||
});
|
||||
}
|
||||
|
||||
public function testPendingPayment(): void
|
||||
{
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.invoices.index')
|
||||
->click('@pay-now')
|
||||
->press('Pay Now')
|
||||
->clickLink('Bank Transfer')
|
||||
->waitForText('Test profile')
|
||||
->radio('final_state', 'open')
|
||||
->press('Continue')
|
||||
->waitForText('Details of the payment')
|
||||
->assertSee('Pending');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user