diff --git a/tests/Browser/ClientPortal/Gateways/Stripe/SEPATest.php b/tests/Browser/ClientPortal/Gateways/Stripe/SEPATest.php index fdbfa59b1825..44c8f505d4e8 100644 --- a/tests/Browser/ClientPortal/Gateways/Stripe/SEPATest.php +++ b/tests/Browser/ClientPortal/Gateways/Stripe/SEPATest.php @@ -111,4 +111,17 @@ class SEPATest extends DuskTestCase ->waitForText('Details of the payment', 60); }); } + + public function testRemoveBankAccount() + { + $this->browse(function (Browser $browser) { + $browser + ->visitRoute('client.payment_methods.index') + ->clickLink('View') + ->press('Remove Payment Method') + ->waitForText('Confirmation') + ->click('@confirm-payment-removal') + ->assertSee('Payment method has been successfully removed.'); + }); + } }