use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class GroupTest method verifyAcceptedPaymentTypesForGroup.
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// http://mifosforge.jira.com/browse/MIFOSTEST-247
@Test(singleThreaded = true, groups = { "group", "acceptance", "ui", "no_db_unit" })
public void verifyAcceptedPaymentTypesForGroup() throws Exception {
//When
GroupTestHelper groupTestHelper = new GroupTestHelper(selenium);
CreateGroupSubmitParameters groupParams = new CreateGroupSubmitParameters();
groupParams.setGroupName("TestGroup123456");
groupTestHelper.createNewGroup("Default Center", groupParams);
AdminPage adminPage = navigationHelper.navigateToAdminPage();
DefineAcceptedPaymentTypesPage defineAcceptedPaymentTypesPage = adminPage.navigateToDefineAcceptedPaymentType();
defineAcceptedPaymentTypesPage.addLoanFeesPaymentType(DefineAcceptedPaymentTypesPage.CHEQUE);
adminPage = navigationHelper.navigateToAdminPage();
defineAcceptedPaymentTypesPage = adminPage.navigateToDefineAcceptedPaymentType();
defineAcceptedPaymentTypesPage.addLoanFeesPaymentType(DefineAcceptedPaymentTypesPage.VOUCHER);
ApplyPaymentPage applyPaymentPage = navigationHelper.navigateToGroupViewDetailsPage("TestGroup123456").navigateToViewGroupChargesDetailPage().navigateToApplyPayments();
//Then
applyPaymentPage.verifyModeOfPayments();
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class NavigationHelper method navigateToCreateUserPage.
public ChooseOfficePage navigateToCreateUserPage() {
AdminPage adminPage = navigateToAdminPage();
ChooseOfficePage createUserPage = adminPage.navigateToCreateUserPage();
createUserPage.verifyPage();
return createUserPage;
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class NavigationHelper method navigateToLoanProductsPage.
public ViewLoanProductsPage navigateToLoanProductsPage() {
AdminPage adminPage = navigateToAdminPage();
ViewLoanProductsPage loanProductsPage = adminPage.navigateToViewLoanProducts();
loanProductsPage.verifyPage();
return loanProductsPage;
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class OfficeHelper method navigateToQuestionResponsePage.
public QuestionResponsePage navigateToQuestionResponsePage(OfficeParameters officeParameters) {
AdminPage adminPage = navigationHelper.navigateToAdminPage();
CreateOfficeEnterDataPage officeEnterDataPage = adminPage.navigateToCreateOfficeEnterDataPage();
officeEnterDataPage.verifyPage();
QuestionResponsePage questionResponsePage = officeEnterDataPage.submitAndGotoQuestionResponsePage(officeParameters);
questionResponsePage.verifyPage();
return questionResponsePage;
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class OfficeHelper method viewOffice.
public void viewOffice(String[] expectedData) {
AdminPage adminPage = navigationHelper.navigateToAdminPage();
ViewOfficesPage viewOfficesPage = adminPage.navigateToViewOfficesPage();
viewOfficesPage.verifyPage();
viewOfficesPage.verifyOfficeList(expectedData);
}
Aggregations