use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountPreviewPage in project head by mifos.
the class SavingsAccountHelper method editAdditionalInformationDurringCreationSavingsAccount.
public SavingsAccountDetailPage editAdditionalInformationDurringCreationSavingsAccount(QuestionResponseParameters responseParams) {
CreateSavingsAccountPreviewPage createSavingsAccountPreviewPage = new CreateSavingsAccountPreviewPage(selenium);
QuestionnairePage questionnairePage = createSavingsAccountPreviewPage.editAdditionalInformationQuestionnairePage();
UiTestUtils.sleep(1500);
questionnairePage.populateAnswers(responseParams);
createSavingsAccountPreviewPage = questionnairePage.navigateToNextPageSavingsAccountCreation();
createSavingsAccountPreviewPage.verifyPage();
CreateSavingsAccountConfirmationPage createSavingsAccountConfirmationPage = createSavingsAccountPreviewPage.submitForApproval();
SavingsAccountDetailPage savingsAccountDetailPage = createSavingsAccountConfirmationPage.navigateToSavingsAccountDetailsPage();
savingsAccountDetailPage.verifyPage();
return savingsAccountDetailPage;
}
Aggregations