mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Cleaning up console messages
This commit is contained in:
parent
0cc364bfda
commit
532e13736d
@ -32,7 +32,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div id="scrollable-dropdown-menu">
|
||||
<input id="product_key" type="text" data-bind="productTypeahead: product_key, items: $root.products, key: 'product_key', valueUpdate: 'afterkeydown', attr: {name: 'invoice_items[{{ $isTasks ? 'T' : '' }}' + $index() + '][product_key]'}" class="form-control invoice-item handled"/>
|
||||
<input type="text" data-bind="productTypeahead: product_key, items: $root.products, key: 'product_key', valueUpdate: 'afterkeydown', attr: {name: 'invoice_items[{{ $isTasks ? 'T' : '' }}' + $index() + '][product_key]'}" class="form-control invoice-item handled"/>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -114,7 +114,7 @@ class AcceptanceTester extends \Codeception\Actor
|
||||
$invoiceNumber = $I->grabValueFrom('#invoice_number');
|
||||
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
|
||||
return $invoiceNumber;
|
||||
|
@ -43,7 +43,7 @@ class CheckBalanceCest
|
||||
// create invoice
|
||||
$I->amOnPage('/invoices/create');
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->click('Mark Sent');
|
||||
$I->wait(5);
|
||||
|
@ -62,7 +62,7 @@ class DiscountCest
|
||||
// check tax and discount rounding
|
||||
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
|
||||
$I->fillField('#discount', $discount);
|
||||
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
|
||||
$I->fillField('table.invoice-table tbody tr:nth-child(1) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->fillField('table.invoice-table tbody tr:nth-child(1) td:nth-child(6) input', $itemDiscount);
|
||||
$I->fillField('table.invoice-table tbody tr:nth-child(1) td:nth-child(5) input', $quantity);
|
||||
|
@ -184,7 +184,7 @@ class InvoiceCest
|
||||
{
|
||||
$row_selector = sprintf('table.invoice-table tbody tr:nth-child(%d) ', $row);
|
||||
|
||||
$I->fillField($row_selector.'#product_key', $product);
|
||||
$I->fillField($row_selector.'td:nth-child(2) input.tt-input', $product);
|
||||
$I->fillField($row_selector.'textarea', $description);
|
||||
$I->fillField($row_selector.'td:nth-child(4) input', $cost);
|
||||
$I->fillField($row_selector.'td:nth-child(5) input', $quantity);
|
||||
|
@ -37,7 +37,7 @@ class OnlinePaymentCest
|
||||
$I->amOnPage('/invoices/create');
|
||||
$invoiceNumber = $I->grabAttributeFrom('#invoice_number', 'value');
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->click('Mark Sent');
|
||||
$I->see($clientEmail);
|
||||
@ -52,7 +52,7 @@ class OnlinePaymentCest
|
||||
// create recurring invoice and auto-bill
|
||||
$I->amOnPage('/recurring_invoices/create');
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->selectOption('#auto_bill', 3);
|
||||
$I->executeJS('onConfirmEmailClick()');
|
||||
|
@ -40,7 +40,7 @@ class PaymentCest
|
||||
// create invoice
|
||||
$I->amOnPage('/invoices/create');
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->click('Mark Sent');
|
||||
$I->wait(2);
|
||||
|
@ -41,7 +41,7 @@ class QuoteCest
|
||||
// create quote
|
||||
$I->amOnPage('/quotes/create');
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->click('Mark Sent');
|
||||
$I->see($clientEmail);
|
||||
|
@ -61,7 +61,7 @@ class TaxRatesCest
|
||||
// create invoice
|
||||
$I->amOnPage('/invoices/create');
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->selectOption('#taxRateSelect1', $invoiceTaxName . ' ' . floatval($invoiceTaxRate) . '%');
|
||||
$I->wait(3);
|
||||
@ -123,7 +123,7 @@ class TaxRatesCest
|
||||
// create invoice
|
||||
$I->amOnPage('/invoices/create');
|
||||
$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) td:nth-child(2) input.tt-input', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->wait(3);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user