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();
}
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.");
}
}
Aggregations