Fix for tax rates test

This commit is contained in:
Hillel Coren 2016-03-15 16:55:23 +02:00
parent ad12557c78
commit f32a497d0d
2 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ $LANG = array(
'work_email' => 'Email', 'work_email' => 'Email',
'language_id' => 'Language', 'language_id' => 'Language',
'timezone_id' => 'Timezone', 'timezone_id' => 'Timezone',
'date_format_id' => 'Date format', 'date_format_id' => 'Date Format',
'datetime_format_id' => 'Date/Time Format', 'datetime_format_id' => 'Date/Time Format',
'users' => 'Users', 'users' => 'Users',
'localization' => 'Localization', 'localization' => 'Localization',
@ -950,7 +950,7 @@ $LANG = array(
'add_bank_account' => 'Add Bank Account', 'add_bank_account' => 'Add Bank Account',
'setup_account' => 'Setup Account', 'setup_account' => 'Setup Account',
'import_expenses' => 'Import Expenses', 'import_expenses' => 'Import Expenses',
'bank_id' => 'bank', 'bank_id' => 'Bank',
'integration_type' => 'Integration Type', 'integration_type' => 'Integration Type',
'updated_bank_account' => 'Successfully updated bank account', 'updated_bank_account' => 'Successfully updated bank account',
'edit_bank_account' => 'Edit Bank Account', 'edit_bank_account' => 'Edit Bank Account',

View File

@ -72,7 +72,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('#taxRateSelect', $invoiceTaxName . ' ' . $invoiceTaxRate . '%'); $I->selectOption('#taxRateSelect', $invoiceTaxName . ' ' . floatval($invoiceTaxRate) . '%');
$I->wait(2); $I->wait(2);
// check total is right before saving // check total is right before saving