Skip to content
Permalink
Browse files
Small adaptation.
  • Loading branch information
ndelvos78 committed Nov 2, 2017
1 parent 1af4dc8 commit ce8865fb18d47e0c81545b7c7ac16d631fddf837
Showing 2 changed files with 10 additions and 2 deletions.
@@ -369,7 +369,6 @@ describe('Loans 3', function() {
//remove actions
Loans.clickFirstRemoveButton();
Loans.clickFirstRemoveButton();
Loans.clickFirstRemoveButton();
Loans.clickEnabledUpdateTaskButton();
Common.verifyMessagePopupIsDisplayed("Task is going to be created");
Loans.verifyActionsForTask("APPROVE,CLOSE,OPEN");
@@ -24,6 +24,7 @@ describe('payrolls', function() {
depositName = helper.getRandomString(8);
tellerIdentifier = helper.getRandomString(4);
chequeReceivablesAccount = "ChequeReceivables_" + helper.getRandomString(4);
cashOverShortAccount = helper.getRandomString(4);
payrollAccount = "Payroll_" + helper.getRandomString(4);
tellerAccount = "Teller_" + helper.getRandomString(4);
headquarterIdentifier = "hqo1";
@@ -64,6 +65,14 @@ describe('payrolls', function() {
Accounting.enterTextIntoAccountNameInputField("Cash account for payroll distributions");
Accounting.clickButtonCreateAccount();
Common.verifyMessagePopupIsDisplayed("Account is going to be saved");
Accounting.goToAccountingViaSidePanel();
Common.clickLinkShowForRowWithId("2000");
Common.clickLinkShowForRowWithId("3300");
Accounting.clickCreateNewAccountInLedger("3300");
Accounting.enterTextIntoAccountIdentifierInputField(cashOverShortAccount);
Accounting.enterTextIntoAccountNameInputField("Cash over short account");
Accounting.clickButtonCreateAccount();
Common.verifyMessagePopupIsDisplayed("Account is going to be saved");
});
it('should transfer funds onto Payroll account', function () {
Accounting.goToAccountingViaSidePanel();
@@ -116,6 +125,7 @@ describe('payrolls', function() {
Offices.enterTextIntoTellerAccountInputFieldAndSelectMatchingEntry(tellerAccount);
Offices.enterTextIntoVaultAccountInputFieldAndSelectMatchingEntry("7351");
Offices.enterTextIntoChequesReceivableAccountInputFieldAndSelectMatchingEntry(chequeReceivablesAccount);
Offices.enterTextIntoCashOverShortInputFieldAndSelectMatchingEntry(cashOverShortAccount);
Offices.clickCreateTellerButton();
Common.verifyMessagePopupIsDisplayed("Teller is going to be saved");
//workaround for current bug that teller is not always listed immediately
@@ -460,7 +470,6 @@ describe('payrolls', function() {
//verify details
Payroll.verifyCreatedByForPayrollInRow(employeeIdentifier, 1);
Payroll.verifyAccountNumberForPayrollInRow(payrollAccount, 1);
//created by
Common.clickLinkShowForFirstRowInTable();
//verify details
Payroll.verifyMemberIDForPaymentInRow(customerAccount, 1);

0 comments on commit ce8865f

Please sign in to comment.