use of org.mifos.test.acceptance.framework.admin.ViewAccountingDataDetailPage in project head by mifos.
the class AccountingIntegrationTest method verifyAccountingExportsSavignsAccount.
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void verifyAccountingExportsSavignsAccount() throws Exception {
AdminPage adminPage = loginAndGoToAdminPage();
ViewAccountingExportsPage viewAccountingExportsPage = adminPage.navigateToViewAccountingExports();
viewAccountingExportsPage = viewAccountingExportsPage.clickClearExports().clickSubmit();
ViewAccountingDataDetailPage viewAccountingDataDetail = viewAccountingExportsPage.navigateToViewAccountingDataDetail("2011-09-12");
if (!viewAccountingDataDetail.verifyIfListContains("Mandatory Savings Accounts")) {
Assert.fail("Accounting Export Details should contain Mandatory Savings Accounts row.");
}
}
Aggregations