use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class NavigationHelper method navigateToFindUserPage.
public ViewSystemUsersPage navigateToFindUserPage() {
AdminPage adminPage = navigateToAdminPage();
ViewSystemUsersPage findUserPage = adminPage.navigateToViewSystemUsersPage();
return findUserPage;
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class NavigationHelper method navigateToAdminPage.
public AdminPage navigateToAdminPage() {
HomePage homePage = navigateToHomePage();
AdminPage adminPage = homePage.navigateToAdminPage();
adminPage.verifyPage();
return adminPage;
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class OfficeHelper method defineOffice.
public void defineOffice(String officeName, String shortName, String officeType, String parentOffice) {
AdminPage adminPage = navigationHelper.navigateToAdminPage();
DefineNewOfficePage defineNewOfficePage = adminPage.navigateToDefineANewOfficePage();
defineNewOfficePage.setOfficeName(officeName);
defineNewOfficePage.setOfficeShortName(shortName);
defineNewOfficePage.setOfficeType(officeType);
defineNewOfficePage.setParentOffice(parentOffice);
defineNewOfficePage.preview();
defineNewOfficePage.submit();
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class OfficeHelper method createOffice.
/**
* Creates an office.
* @param officeParameters The office parameters.
* @return The admin page.
*/
public AdminPage createOffice(OfficeParameters officeParameters) {
AdminPage adminPage = navigationHelper.navigateToAdminPage();
CreateOfficeEnterDataPage officeEnterDataPage = adminPage.navigateToCreateOfficeEnterDataPage();
officeEnterDataPage.verifyPage();
CreateOfficePreviewDataPage previewDataPage = officeEnterDataPage.submitAndGotoCreateOfficePreviewDataPage(officeParameters);
previewDataPage.verifyPage();
CreateOfficeConfirmationPage confirmationPage = previewDataPage.submit();
confirmationPage.verifyPage();
OfficeViewDetailsPage detailsPage = confirmationPage.navigateToOfficeViewDetailsPage();
detailsPage.verifyPage();
return detailsPage.navigateToAdminPage();
}
use of org.mifos.test.acceptance.framework.admin.AdminPage in project head by mifos.
the class LoanProductTestHelper method editLoanProductWithParameters.
public EditLoanProductPreviewPage editLoanProductWithParameters(String loanProduct, DefineNewLoanProductPage.SubmitFormParameters productParams) {
AdminPage adminPage = navigationHelper.navigateToAdminPage();
adminPage.navigateToViewLoanProducts().viewLoanProductDetails(loanProduct);
new DefineNewLoanProductPage().fillLoanParameters(productParams).submitPage();
return new EditLoanProductPreviewPage(selenium);
}
Aggregations