mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for online payment test
This commit is contained in:
parent
751b084a59
commit
02b0840215
@ -77,7 +77,7 @@ class OnlinePaymentCest
|
|||||||
$I->fillField(['name' => 'postal_code'], $this->faker->postcode);
|
$I->fillField(['name' => 'postal_code'], $this->faker->postcode);
|
||||||
$I->selectDropdown($I, 'United States', '.country-select .dropdown-toggle');
|
$I->selectDropdown($I, 'United States', '.country-select .dropdown-toggle');
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$I->fillField('#card_number', '4242424242424242');
|
$I->fillField('#card_number', '4242424242424242');
|
||||||
$I->fillField('#cvv', '1234');
|
$I->fillField('#cvv', '1234');
|
||||||
$I->selectOption('#expiration_month', 12);
|
$I->selectOption('#expiration_month', 12);
|
||||||
@ -94,10 +94,10 @@ class OnlinePaymentCest
|
|||||||
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
|
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
|
||||||
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
|
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
|
||||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||||
$I->checkOption('#auto_bill');
|
$I->selectOption('#auto_bill', 3);
|
||||||
$I->executeJS('preparePdfData(\'email\')');
|
$I->executeJS('preparePdfData(\'email\')');
|
||||||
$I->wait(3);
|
$I->wait(3);
|
||||||
$I->see("$0.00");
|
$I->see("$0.00");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user