use of org.mifos.test.acceptance.framework.questionnaire.QuestionDetailPage in project head by mifos.
the class QuestionTest method testViewQuestionDetail.
private void testViewQuestionDetail(String type, int numericMin, int numericMax, List<Choice> choices) {
QuestionDetailPage questionDetailPage = viewAllQuestionsPage.navigateToQuestionDetail(title + type);
questionDetailPage.verifyPage();
questionDetailPage.verifyQuestionTitle(type, title);
questionDetailPage.assertForChoices(type, choices);
questionDetailPage.assertForNumericDetails(type, numericMin, numericMax);
viewAllQuestionsPage = questionDetailPage.navigateToViewAllQuestionsPage();
}
Aggregations