Search in sources :

Example 1 with ViewAccountingDataDetailPage

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.");
    }
}
Also used : AdminPage(org.mifos.test.acceptance.framework.admin.AdminPage) ViewAccountingDataDetailPage(org.mifos.test.acceptance.framework.admin.ViewAccountingDataDetailPage) ViewAccountingExportsPage(org.mifos.test.acceptance.framework.admin.ViewAccountingExportsPage)

Aggregations

AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)1 ViewAccountingDataDetailPage (org.mifos.test.acceptance.framework.admin.ViewAccountingDataDetailPage)1 ViewAccountingExportsPage (org.mifos.test.acceptance.framework.admin.ViewAccountingExportsPage)1