Search in sources :

Example 1 with ViewAccountingExportsPage

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

the class AccountingIntegrationTest method verifyAccountingExportsWorkFlow.

@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void verifyAccountingExportsWorkFlow() throws Exception {
    AdminPage adminPage = loginAndGoToAdminPage();
    ViewAccountingExportsPage viewAccountingExportsPage = adminPage.navigateToViewAccountingExports();
    viewAccountingExportsPage.verifyPage();
    viewAccountingExportsPage.clickCancel();
    adminPage.verifyPage();
    viewAccountingExportsPage = adminPage.navigateToViewAccountingExports();
    viewAccountingExportsPage.clickClearExports();
    viewAccountingExportsPage.verifyConfirmationPage();
    viewAccountingExportsPage.clickSubmit();
    viewAccountingExportsPage.verifyPage();
    viewAccountingExportsPage.verifyNoExportPresent();
}
Also used : AdminPage(org.mifos.test.acceptance.framework.admin.AdminPage) ViewAccountingExportsPage(org.mifos.test.acceptance.framework.admin.ViewAccountingExportsPage)

Example 2 with ViewAccountingExportsPage

use of org.mifos.test.acceptance.framework.admin.ViewAccountingExportsPage 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)2 ViewAccountingExportsPage (org.mifos.test.acceptance.framework.admin.ViewAccountingExportsPage)2 ViewAccountingDataDetailPage (org.mifos.test.acceptance.framework.admin.ViewAccountingDataDetailPage)1