use of org.mifos.test.acceptance.framework.group.CreateGroupPreviewDataPage in project head by mifos.
the class GroupTestHelper method createGroupWithQuestionGroupsEdited.
public GroupViewDetailsPage createGroupWithQuestionGroupsEdited(CreateGroupSubmitParameters groupParams, String centerName, QuestionResponseParameters responseParams, QuestionResponseParameters responseParams2) {
QuestionResponsePage responsePage = navigateToCreateGroupEntryPage(centerName).submitAndNavigateToQuestionResponsePage(groupParams);
responsePage.populateAnswers(responseParams);
responsePage.navigateToNextPage();
new CreateGroupPreviewDataPage(selenium).navigateToEditQuestionResponsePage();
responsePage.populateAnswers(responseParams2);
responsePage.navigateToNextPage();
return new CreateGroupPreviewDataPage(selenium).submitForApproval().navigateToGroupDetailsPage();
}
Aggregations