mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	Credit card: Removing test
This commit is contained in:
		
							parent
							
								
									1d1ca46aac
								
							
						
					
					
						commit
						c108a5bcfc
					
				@ -51,4 +51,17 @@ class CreditCardTest extends DuskTestCase
 | 
			
		||||
                ->waitForText('**** 1111');
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function testRemoveCreditCard()
 | 
			
		||||
    {
 | 
			
		||||
        $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.');
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user