mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	Gateways: Authorize.net: Credit card: Pay with saved card
This commit is contained in:
		
							parent
							
								
									a913c2d9d0
								
							
						
					
					
						commit
						a5ed8e41d0
					
				@ -74,4 +74,18 @@ class CreditCardTest extends DuskTestCase
 | 
			
		||||
                ->assertSee('0027');
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function testPayWithSavedCard()
 | 
			
		||||
    {
 | 
			
		||||
        $this->browse(function (Browser $browser) {
 | 
			
		||||
            $browser
 | 
			
		||||
                ->visitRoute('client.invoices.index')
 | 
			
		||||
                ->click('@pay-now')
 | 
			
		||||
                ->press('Pay Now')
 | 
			
		||||
                ->clickLink('Credit Card')
 | 
			
		||||
                ->click('.toggle-payment-with-token')
 | 
			
		||||
                ->press('Pay Now')
 | 
			
		||||
                ->waitForText('Details of the payment', 60);
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user