use of org.mifos.test.acceptance.framework.center.MeetingParameters in project head by mifos.
the class UpdateCustomPropertiesTest method verifyPropertyClientRulesCenterHierarchyExistsTrue.
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
//http://mifosforge.jira.com/browse/MIFOSTEST-231
@Test(enabled = true)
public void verifyPropertyClientRulesCenterHierarchyExistsTrue() throws Exception {
//Given
propertiesHelper.setCenterHierarchyExists("true");
//When
CreateCenterEnterDataPage.SubmitFormParameters formParameters = new CreateCenterEnterDataPage.SubmitFormParameters();
formParameters.setCenterName("testCenterName12123");
formParameters.setLoanOfficer("loan officer");
MeetingParameters meeting = new MeetingParameters();
meeting.setMeetingPlace("Bangalore");
meeting.setWeekDay(MeetingParameters.WeekDay.WEDNESDAY);
meeting.setWeekFrequency("1");
formParameters.setMeeting(meeting);
CenterViewDetailsPage centerViewDetailsPage = centerTestHelper.createCenter(formParameters, "MyOfficeDHMFT");
//Then
centerViewDetailsPage.verifyActiveCenter(formParameters);
}
use of org.mifos.test.acceptance.framework.center.MeetingParameters in project head by mifos.
the class ClientTestHelper method navigateToConfirmationPage.
private CreateClientConfirmationPage navigateToConfirmationPage(String loanOfficer) {
CreateClientEnterMfiDataPage.SubmitFormParameters mfiFormParameters = new CreateClientEnterMfiDataPage.SubmitFormParameters();
mfiFormParameters.setLoanOfficerId(loanOfficer);
MeetingParameters meetingFormParameters = new MeetingParameters();
meetingFormParameters.setWeekFrequency("1");
meetingFormParameters.setWeekDay(MeetingParameters.WeekDay.WEDNESDAY);
meetingFormParameters.setMeetingPlace("Bangalore");
mfiFormParameters.setMeeting(meetingFormParameters);
CreateClientPreviewDataPage clientPreviewDataPage = new CreateClientEnterMfiDataPage(selenium).submitAndGotoCreateClientPreviewDataPage(mfiFormParameters);
CreateClientConfirmationPage clientConfirmationPage = clientPreviewDataPage.submit();
clientConfirmationPage.verifyPage();
return clientConfirmationPage;
}
Aggregations