use of org.mifos.test.acceptance.framework.admin.ClientDataImportSaveSummaryPage in project head by mifos.
the class ClientDataImportTest method importSavingAccountsToClientTest.
@Test(enabled = true)
public void importSavingAccountsToClientTest() {
String importFile = this.getClass().getResource("/ClientDataImportTest.xls").toString();
String succesNumber = "4";
String errorNumber = "4";
arrayOfErrors = buildArrayOfErrorsForImportSavingsTest();
ClientDataImportReviewPage reviewPage = adminTestHelper.loadClientDataImportFileAndSubmitForReview(importFile);
reviewPage.validateErrors(arrayOfErrors);
reviewPage.validateSuccesText(succesNumber);
ClientDataImportSaveSummaryPage summaryPage = reviewPage.saveSuccessfullRows();
summaryPage.verifySuccesString(succesNumber);
summaryPage.verifyErrorString(errorNumber);
}
Aggregations