mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for tax rates test
This commit is contained in:
parent
d4915074b6
commit
27f72a4730
@ -399,6 +399,7 @@
|
|||||||
@endif
|
@endif
|
||||||
<td style="min-width:120px">
|
<td style="min-width:120px">
|
||||||
{!! Former::select('')
|
{!! Former::select('')
|
||||||
|
->id('taxRateSelect1')
|
||||||
->addOption('', '')
|
->addOption('', '')
|
||||||
->options($taxRateOptions)
|
->options($taxRateOptions)
|
||||||
->addClass('tax-select')
|
->addClass('tax-select')
|
||||||
|
@ -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 . ' ' . floatval($invoiceTaxRate) . '%');
|
$I->selectOption('#taxRateSelect1', $invoiceTaxName . ' ' . floatval($invoiceTaxRate) . '%');
|
||||||
$I->wait(2);
|
$I->wait(2);
|
||||||
|
|
||||||
// check total is right before saving
|
// check total is right before saving
|
||||||
|
Loading…
x
Reference in New Issue
Block a user