Small adaptation.
diff --git a/Specs/loans3_tasks.js b/Specs/loans3_tasks.js
index f6e3f5a..25766ca 100644
--- a/Specs/loans3_tasks.js
+++ b/Specs/loans3_tasks.js
@@ -369,7 +369,6 @@
//remove actions
Loans.clickFirstRemoveButton();
Loans.clickFirstRemoveButton();
- Loans.clickFirstRemoveButton();
Loans.clickEnabledUpdateTaskButton();
Common.verifyMessagePopupIsDisplayed("Task is going to be created");
Loans.verifyActionsForTask("APPROVE,CLOSE,OPEN");
diff --git a/Specs/payrolls.js b/Specs/payrolls.js
index 4403dff..10d5242 100644
--- a/Specs/payrolls.js
+++ b/Specs/payrolls.js
@@ -24,6 +24,7 @@
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 @@
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 @@
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 @@
//verify details
Payroll.verifyCreatedByForPayrollInRow(employeeIdentifier, 1);
Payroll.verifyAccountNumberForPayrollInRow(payrollAccount, 1);
- //created by
Common.clickLinkShowForFirstRowInTable();
//verify details
Payroll.verifyMemberIDForPaymentInRow(customerAccount, 1);