mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Gateways: Authorize.net: Credit card: Add credit card standalone
This commit is contained in:
parent
9782092a45
commit
aebdaeb5dd
@ -101,4 +101,22 @@ class CreditCardTest extends DuskTestCase
|
|||||||
->assertSee('Payment method has been successfully removed.');
|
->assertSee('Payment method has been successfully removed.');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testAddingCreditCardStandalone()
|
||||||
|
{
|
||||||
|
$this->markTestIncomplete("E00117 OTS Service Error 'Field validation error.'");
|
||||||
|
|
||||||
|
$this->browse(function (Browser $browser) {
|
||||||
|
$browser
|
||||||
|
->visitRoute('client.payment_methods.index')
|
||||||
|
->press('Add Payment Method')
|
||||||
|
->clickLink('Credit Card')
|
||||||
|
->type('card-number', '4012888818888')
|
||||||
|
->type('card-holders-name', 'John Doe')
|
||||||
|
->type('.expiry', '12/28')
|
||||||
|
->type('cvc', '900')
|
||||||
|
->press('Add Payment Method')
|
||||||
|
->waitForText('0027', 60);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user