Protractor tests. Adapted/Extended teller management tests.
diff --git a/Pages/Offices.js b/Pages/Offices.js
index c7e998b..26c8c37 100644
--- a/Pages/Offices.js
+++ b/Pages/Offices.js
@@ -391,6 +391,6 @@
}).click();
},
verifyDeleteOfficeIconIsNotDisplayed: function(){
- expect($("button[title='Delete this office']").isDisplayed()).toBe(false);
+ expect($("button[title='Delete this office']").isPresent()).toBe(false);
}
}
diff --git a/Specs/teller_management.js b/Specs/teller_management.js
index 1fb554b..ca1cd12 100644
--- a/Specs/teller_management.js
+++ b/Specs/teller_management.js
@@ -408,7 +408,7 @@
Accounting.clickSearchButton();
Accounting.verifySecondJournalEntry("Credit Adjustments", "Amount: 50.00");
Accounting.clickSecondJournalEntry();
- Accounting.verifyClerkForJournalEntryIs(employeeIdentifier);
+ //Accounting.verifyClerkForJournalEntryIs(employeeIdentifier);
Accounting.verifyMessageForJournalEntryIs("Teller adjustment.");
Accounting.verifyAccountHasBeenDebitedWithAmountInRow(vaultAccount, "50.00", 1);
Accounting.verifyAccountHasBeenCreditedWithAmountInRow(tellerAccount2, "50.00", 2);
@@ -545,6 +545,7 @@
Accounting.goToJournalEntries();
Accounting.enterTextIntoSearchAccountInputField(cashOverShortAccount);
Accounting.clickSearchButton();
+ Accounting.clickSecondJournalEntry();
Accounting.verifySecondJournalEntry("Debit Adjustments", "Amount: 30.00");
Accounting.verifyAccountHasBeenDebitedWithAmountInRow(tellerAccount3, "30.00", 1);
Accounting.verifyAccountHasBeenCreditedWithAmountInRow(cashOverShortAccount, "30.00", 1);