mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-31 15:42:03 -04:00
Cleaning up console messages
This commit is contained in:
parent
0cc364bfda
commit
532e13736d
@ -32,7 +32,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div id="scrollable-dropdown-menu">
|
<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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -114,7 +114,7 @@ class AcceptanceTester extends \Codeception\Actor
|
|||||||
$invoiceNumber = $I->grabValueFrom('#invoice_number');
|
$invoiceNumber = $I->grabValueFrom('#invoice_number');
|
||||||
|
|
||||||
$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) td:nth-child(2) input.tt-input', $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');
|
||||||
|
|
||||||
return $invoiceNumber;
|
return $invoiceNumber;
|
||||||
|
@ -43,7 +43,7 @@ class CheckBalanceCest
|
|||||||
// create invoice
|
// create invoice
|
||||||
$I->amOnPage('/invoices/create');
|
$I->amOnPage('/invoices/create');
|
||||||
$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) td:nth-child(2) input.tt-input', $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->click('Mark Sent');
|
$I->click('Mark Sent');
|
||||||
$I->wait(5);
|
$I->wait(5);
|
||||||
|
@ -62,7 +62,7 @@ class DiscountCest
|
|||||||
// check tax and discount rounding
|
// check tax and discount rounding
|
||||||
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
|
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
|
||||||
$I->fillField('#discount', $discount);
|
$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->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(6) input', $itemDiscount);
|
||||||
$I->fillField('table.invoice-table tbody tr:nth-child(1) td:nth-child(5) input', $quantity);
|
$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);
|
$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.'textarea', $description);
|
||||||
$I->fillField($row_selector.'td:nth-child(4) input', $cost);
|
$I->fillField($row_selector.'td:nth-child(4) input', $cost);
|
||||||
$I->fillField($row_selector.'td:nth-child(5) input', $quantity);
|
$I->fillField($row_selector.'td:nth-child(5) input', $quantity);
|
||||||
|
@ -37,7 +37,7 @@ class OnlinePaymentCest
|
|||||||
$I->amOnPage('/invoices/create');
|
$I->amOnPage('/invoices/create');
|
||||||
$invoiceNumber = $I->grabAttributeFrom('#invoice_number', 'value');
|
$invoiceNumber = $I->grabAttributeFrom('#invoice_number', 'value');
|
||||||
$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) td:nth-child(2) input.tt-input', $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->click('Mark Sent');
|
$I->click('Mark Sent');
|
||||||
$I->see($clientEmail);
|
$I->see($clientEmail);
|
||||||
@ -52,7 +52,7 @@ class OnlinePaymentCest
|
|||||||
// create recurring invoice and auto-bill
|
// create recurring invoice and auto-bill
|
||||||
$I->amOnPage('/recurring_invoices/create');
|
$I->amOnPage('/recurring_invoices/create');
|
||||||
$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) td:nth-child(2) input.tt-input', $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('#auto_bill', 3);
|
$I->selectOption('#auto_bill', 3);
|
||||||
$I->executeJS('onConfirmEmailClick()');
|
$I->executeJS('onConfirmEmailClick()');
|
||||||
|
@ -40,7 +40,7 @@ class PaymentCest
|
|||||||
// create invoice
|
// create invoice
|
||||||
$I->amOnPage('/invoices/create');
|
$I->amOnPage('/invoices/create');
|
||||||
$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) td:nth-child(2) input.tt-input', $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->click('Mark Sent');
|
$I->click('Mark Sent');
|
||||||
$I->wait(2);
|
$I->wait(2);
|
||||||
|
@ -41,7 +41,7 @@ class QuoteCest
|
|||||||
// create quote
|
// create quote
|
||||||
$I->amOnPage('/quotes/create');
|
$I->amOnPage('/quotes/create');
|
||||||
$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) td:nth-child(2) input.tt-input', $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->click('Mark Sent');
|
$I->click('Mark Sent');
|
||||||
$I->see($clientEmail);
|
$I->see($clientEmail);
|
||||||
|
@ -61,7 +61,7 @@ class TaxRatesCest
|
|||||||
// create invoice
|
// create invoice
|
||||||
$I->amOnPage('/invoices/create');
|
$I->amOnPage('/invoices/create');
|
||||||
$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) td:nth-child(2) input.tt-input', $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 . ' ' . floatval($invoiceTaxRate) . '%');
|
||||||
$I->wait(3);
|
$I->wait(3);
|
||||||
@ -123,7 +123,7 @@ class TaxRatesCest
|
|||||||
// create invoice
|
// create invoice
|
||||||
$I->amOnPage('/invoices/create');
|
$I->amOnPage('/invoices/create');
|
||||||
$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) td:nth-child(2) input.tt-input', $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->wait(3);
|
$I->wait(3);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user