diff --git a/tests/Browser/ClientPortal/Gateways/Mollie/BankTransferTest.php b/tests/Browser/ClientPortal/Gateways/Mollie/BankTransferTest.php index 4af336472ecf..8feb940e928f 100644 --- a/tests/Browser/ClientPortal/Gateways/Mollie/BankTransferTest.php +++ b/tests/Browser/ClientPortal/Gateways/Mollie/BankTransferTest.php @@ -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'); + }); + } }