diff --git a/tests/Browser/ClientPortal/Gateways/Stripe/ACHTest.php b/tests/Browser/ClientPortal/Gateways/Stripe/ACHTest.php index b5ea3799c0..8d5a982a95 100644 --- a/tests/Browser/ClientPortal/Gateways/Stripe/ACHTest.php +++ b/tests/Browser/ClientPortal/Gateways/Stripe/ACHTest.php @@ -85,4 +85,17 @@ class ACHTest extends DuskTestCase ->waitForText('Details of the payment', 60); }); } + + public function testRemoveACHAccount() + { + $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.'); + }); + } }