Search in sources :

Example 1 with ImportLoansPage

use of org.mifos.test.acceptance.framework.admin.ImportLoansPage in project head by mifos.

the class AdminTestHelper method loadImportLoansFileAndSubmitForReview.

/**
     * Navigates to import loan accounts page, loads file for parser and displays parser's result.
     * @param importFile path to file/resource
     * @return
     */
public ImportLoansReviewPage loadImportLoansFileAndSubmitForReview(String importFile) {
    AdminPage adminPage = navigationHelper.navigateToAdminPage();
    ImportLoansPage selectFilePage = adminPage.navigateToImportLoansPage();
    selectFilePage.verifyPage();
    ImportLoansReviewPage reviewPage = selectFilePage.submitToReview(importFile);
    reviewPage.verifyPage();
    return reviewPage;
}
Also used : AdminPage(org.mifos.test.acceptance.framework.admin.AdminPage) ImportLoansPage(org.mifos.test.acceptance.framework.admin.ImportLoansPage) ImportLoansReviewPage(org.mifos.test.acceptance.framework.admin.ImportLoansReviewPage)

Aggregations

AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)1 ImportLoansPage (org.mifos.test.acceptance.framework.admin.ImportLoansPage)1 ImportLoansReviewPage (org.mifos.test.acceptance.framework.admin.ImportLoansReviewPage)1