Skip to content
Permalink
Browse files
Some changes.
  • Loading branch information
ndelvos78 committed Nov 3, 2017
1 parent ce8865f commit 8821edd800a28f06bae8260e1fe7ebe49238095c
Showing 3 changed files with 4 additions and 3 deletions.
@@ -52,6 +52,7 @@ module.exports = {
goToChequeClearing: function() {
browser.wait(EC.visibilityOf($("a[href='/accounting/cheques']")), 3000);
$("a[href='/accounting/cheques']").click();
browser.sleep(1000);
},
goToTrialBalance: function() {
browser.wait(EC.visibilityOf($("a[href='/accounting/trialBalance']")), 3000);
@@ -41,7 +41,7 @@ module.exports = {
enterTextIntoAccountNumberInputField: function(text) {
browser.executeScript("arguments[0].scrollIntoView();", accountNumberInput.getWebElement());
browser.wait(EC.visibilityOf(accountNumberInput), 1000);
browser.sleep(200);
browser.sleep(300);
accountNumberInput.click().clear().sendKeys(text);
},
enterTextIntoIssuingBankInputField: function(text) {
@@ -505,15 +505,15 @@ describe('cheque_management', function() {
Accounting.verifyTransactionTypeForRow("DEBIT", 1);
Accounting.verifyTransactionMessageForRow("ORCQ", 1);
Accounting.verifyTransactionAmountForRow("5000", 1);
Accounting.verifyTransactionBalanceForRow("-5000", 1);
Accounting.verifyTransactionBalanceForRow("0", 1);
Common.clickBackButtonInTitleBar();
Common.clickBackButtonInTitleBar();
Common.clickLinkShowForRowWithId(customerAccount + ".9100.00001");
Accounting.viewAccountEntriesForAccount(customerAccount + ".9100.00001");
Accounting.verifyTransactionTypeForRow("CREDIT", 6);
Accounting.verifyTransactionMessageForRow("ORCQ", 6);
Accounting.verifyTransactionAmountForRow("5000", 6);
Accounting.verifyTransactionBalanceForRow("10750.54", 5);
Accounting.verifyTransactionBalanceForRow("10750.54", 6);
});
it('customer should not be able to cash cheque if account is locked - cheque is on us', function () {
//lock second customer's account

0 comments on commit 8821edd

Please sign in to comment.