mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 21:04:28 -04:00
Update order of tests
This commit is contained in:
parent
fc2094b951
commit
ec9d2cc292
@ -91,6 +91,19 @@ class CreditCardTest extends DuskTestCase
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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.');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
public function testAddingCreditCardStandalone()
|
public function testAddingCreditCardStandalone()
|
||||||
{
|
{
|
||||||
$this->browse(function (Browser $browser) {
|
$this->browse(function (Browser $browser) {
|
||||||
@ -109,17 +122,4 @@ class CreditCardTest extends DuskTestCase
|
|||||||
->waitForText('**** 1111');
|
->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