Search in sources :

Example 1 with AccountAddNotesPage

use of org.mifos.test.acceptance.framework.loan.AccountAddNotesPage 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;
}
Also used : AccountPreviewNotesPage(org.mifos.test.acceptance.framework.loan.AccountPreviewNotesPage) AccountAddNotesPage(org.mifos.test.acceptance.framework.loan.AccountAddNotesPage) SavingsAccountDetailPage(org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage)

Example 2 with AccountAddNotesPage

use of org.mifos.test.acceptance.framework.loan.AccountAddNotesPage 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;
}
Also used : AccountPreviewNotesPage(org.mifos.test.acceptance.framework.loan.AccountPreviewNotesPage) NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) AccountAddNotesPage(org.mifos.test.acceptance.framework.loan.AccountAddNotesPage) LoanAccountPage(org.mifos.test.acceptance.framework.loan.LoanAccountPage)

Aggregations

AccountAddNotesPage (org.mifos.test.acceptance.framework.loan.AccountAddNotesPage)2 AccountPreviewNotesPage (org.mifos.test.acceptance.framework.loan.AccountPreviewNotesPage)2 LoanAccountPage (org.mifos.test.acceptance.framework.loan.LoanAccountPage)1 SavingsAccountDetailPage (org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage)1 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)1