Fix for tests

This commit is contained in:
Hillel Coren 2016-12-05 21:43:22 +02:00
parent 67f44775e3
commit 9351e7fb93

View File

@ -96,7 +96,8 @@ class OnlinePaymentCest
$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->selectOption('#auto_bill', 3);
$I->executeJS('preparePdfData(\'email\')');
$I->executeJS('model.invoice().is_public(true);');
$I->executeJS('preparePdfData(\'email\');');
$I->wait(3);
$I->see("$0.00");