Search in sources :

Example 1 with CreateGroupPreviewDataPage

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();
}
Also used : CreateGroupPreviewDataPage(org.mifos.test.acceptance.framework.group.CreateGroupPreviewDataPage) QuestionResponsePage(org.mifos.test.acceptance.framework.questionnaire.QuestionResponsePage)

Aggregations

CreateGroupPreviewDataPage (org.mifos.test.acceptance.framework.group.CreateGroupPreviewDataPage)1 QuestionResponsePage (org.mifos.test.acceptance.framework.questionnaire.QuestionResponsePage)1