Search in sources :

Example 1 with CreateSavingsAccountPreviewPage

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;
}
Also used : QuestionnairePage(org.mifos.test.acceptance.framework.questionnaire.QuestionnairePage) CreateSavingsAccountConfirmationPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage) SavingsAccountDetailPage(org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage) CreateSavingsAccountPreviewPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountPreviewPage)

Aggregations

QuestionnairePage (org.mifos.test.acceptance.framework.questionnaire.QuestionnairePage)1 CreateSavingsAccountConfirmationPage (org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage)1 CreateSavingsAccountPreviewPage (org.mifos.test.acceptance.framework.savings.CreateSavingsAccountPreviewPage)1 SavingsAccountDetailPage (org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage)1