Fix for tests

This commit is contained in:
Hillel Coren 2017-03-19 16:47:35 +02:00
parent d753096268
commit 5e32e54e98

View File

@ -63,7 +63,7 @@ class TaxRatesCest
$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->selectOption('#taxRateSelect1', $invoiceTaxName . ': ' . floatval($invoiceTaxRate) . '%'); $I->selectOption('#taxRateSelect1', $invoiceTaxName . ': ' . $invoiceTaxRate . '%');
$I->wait(3); $I->wait(3);
// check total is right before saving // check total is right before saving