use of org.mifos.test.acceptance.framework.office.CreateOfficeEnterDataPage 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.office.CreateOfficeEnterDataPage 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;
}
Aggregations