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;
}
Aggregations