use of org.mifos.test.acceptance.framework.center.CenterViewDetailsPage 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.CenterViewDetailsPage in project head by mifos.
the class CenterTestHelper method editCenterMeetingSchedule.
public CenterViewDetailsPage editCenterMeetingSchedule(String centerName, MeetingParameters parameters) {
CenterViewDetailsPage centerViewDetailsPage = navigationHelper.navigateToCenterViewDetailsPage(centerName).navigateToEditMeetingPage().editCenterMeeting(parameters);
centerViewDetailsPage.varifyMeetingSchedule(parameters);
return centerViewDetailsPage;
}
Aggregations