mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 06:37:33 -05:00 
			
		
		
		
	Tests: Removing th ecredit card
This commit is contained in:
		
							parent
							
								
									aaf84e0e3b
								
							
						
					
					
						commit
						7cf209e87a
					
				@ -92,4 +92,17 @@ class CreditCardTest extends DuskTestCase
 | 
				
			|||||||
                ->waitForText('Details of the payment', 60);
 | 
					                ->waitForText('Details of the payment', 60);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    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