use of org.mifos.test.acceptance.framework.loan.AccountPreviewNotesPage in project head by mifos.
the class SavingsAccountHelper method addNoteToSavingsAccount.
public SavingsAccountDetailPage addNoteToSavingsAccount(String testAccount, String testAccountNote) {
NavigationHelper helper = new NavigationHelper(selenium);
SavingsAccountDetailPage savingsAccountDetailPage = helper.navigateToSavingsAccountDetailPage(testAccount);
savingsAccountDetailPage.verifyPage();
AccountAddNotesPage addNotesPage = savingsAccountDetailPage.navigateToAddNotesPage();
addNotesPage.verifyPage();
AccountPreviewNotesPage previewPage = addNotesPage.submitAndNavigateToAccountAddNotesPreviewPage(testAccountNote);
previewPage.verifyPage();
savingsAccountDetailPage = previewPage.submitAndNavigateToSavingsAccountDetailPage();
return savingsAccountDetailPage;
}
use of org.mifos.test.acceptance.framework.loan.AccountPreviewNotesPage in project head by mifos.
the class LoanAccountAddNoteTest method addNoteToAccount.
private LoanAccountPage addNoteToAccount() {
NavigationHelper helper = new NavigationHelper(selenium);
LoanAccountPage loanAccountPage = helper.navigateToLoanAccountPage(TEST_ACCOUNT);
AccountAddNotesPage addNotesPage = loanAccountPage.navigateToAddNotesPage();
addNotesPage.verifyPage();
AccountPreviewNotesPage previewPage = addNotesPage.submitAndNavigateToAccountAddNotesPreviewPage(TEST_ACCOUNT_NOTE);
previewPage.verifyPage();
loanAccountPage = previewPage.submitAndNavigateToLoanAccountPage();
return loanAccountPage;
}
Aggregations