Search in sources :

Example 1 with CreateSavingsAccountEntryPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.

the class SavingsAccountHelper method createSavingsAccountWithQG.

public SavingsAccountDetailPage createSavingsAccountWithQG(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
    CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
    createSavingsAccountSearchPage.verifyPage();
    CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
    createSavingsAccountEntryPage.verifyPage();
    CreateSavingsAccountConfirmationPage createSavingsAccountConfirmationPage = createSavingsAccountEntryPage.submitWithQGAndNavigateToSavingsAccountConfirmationPage(submitAccountParameters);
    createSavingsAccountConfirmationPage.verifyPage();
    SavingsAccountDetailPage savingsAccountDetailPage = createSavingsAccountConfirmationPage.navigateToSavingsAccountDetailsPage();
    savingsAccountDetailPage.verifyPage();
    return savingsAccountDetailPage;
}
Also used : CreateSavingsAccountSearchPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountSearchPage) CreateSavingsAccountConfirmationPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage) SavingsAccountDetailPage(org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage) CreateSavingsAccountEntryPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage)

Example 2 with CreateSavingsAccountEntryPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.

the class SavingsAccountHelper method createSavingsAccount.

/**
     * Creates a savings account.
     * @param searchParameters Parameters to find the client/group that will be the owner of the account.
     * @param submitAccountParameters The parameters for the savings account.
     */
public SavingsAccountDetailPage createSavingsAccount(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
    CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
    createSavingsAccountSearchPage.verifyPage();
    CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
    createSavingsAccountEntryPage.verifyPage();
    CreateSavingsAccountConfirmationPage createSavingsAccountConfirmationPage = createSavingsAccountEntryPage.submitAndNavigateToSavingsAccountConfirmationPage(submitAccountParameters);
    createSavingsAccountConfirmationPage.verifyPage();
    SavingsAccountDetailPage savingsAccountDetailPage = createSavingsAccountConfirmationPage.navigateToSavingsAccountDetailsPage();
    savingsAccountDetailPage.verifyPage();
    return savingsAccountDetailPage;
}
Also used : CreateSavingsAccountSearchPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountSearchPage) CreateSavingsAccountConfirmationPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage) SavingsAccountDetailPage(org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage) CreateSavingsAccountEntryPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage)

Example 3 with CreateSavingsAccountEntryPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.

the class SavingsAccountHelper method fillQuestionGroupsDurringCreationSavingsAccount.

public CreateSavingsAccountPreviewPage fillQuestionGroupsDurringCreationSavingsAccount(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters, QuestionResponseParameters responseParams) {
    CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
    createSavingsAccountSearchPage.verifyPage();
    CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
    createSavingsAccountEntryPage.verifyPage();
    QuestionnairePage questionnairePage = createSavingsAccountEntryPage.submitAndNavigateToQuestionnairePage(submitAccountParameters);
    questionnairePage.populateAnswers(responseParams);
    return questionnairePage.navigateToNextPageSavingsAccountCreation();
}
Also used : CreateSavingsAccountSearchPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountSearchPage) QuestionnairePage(org.mifos.test.acceptance.framework.questionnaire.QuestionnairePage) CreateSavingsAccountEntryPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage)

Example 4 with CreateSavingsAccountEntryPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.

the class SavingsAccountHelper method navigateToQuestionResponseDuringCreateSavings.

public QuestionnairePage navigateToQuestionResponseDuringCreateSavings(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
    CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
    createSavingsAccountSearchPage.verifyPage();
    CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
    createSavingsAccountEntryPage.verifyPage();
    return createSavingsAccountEntryPage.submitAndNavigateToQuestionnairePage(submitAccountParameters);
}
Also used : CreateSavingsAccountSearchPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountSearchPage) CreateSavingsAccountEntryPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage)

Example 5 with CreateSavingsAccountEntryPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.

the class SavingsAccountHelper method createSavingsAccountWithoutPendingApprovalState.

public SavingsAccountDetailPage createSavingsAccountWithoutPendingApprovalState(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
    CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
    createSavingsAccountSearchPage.verifyPage();
    CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
    createSavingsAccountEntryPage.verifyPage();
    CreateSavingsAccountConfirmationPage createSavingsAccountConfirmationPage = createSavingsAccountEntryPage.submitAndNavigateToSavingsAccountConfirmationPageWithoutPendingApprovalState(submitAccountParameters);
    createSavingsAccountConfirmationPage.verifyPage();
    SavingsAccountDetailPage savingsAccountDetailPage = createSavingsAccountConfirmationPage.navigateToSavingsAccountDetailsPage();
    savingsAccountDetailPage.verifyPage();
    return savingsAccountDetailPage;
}
Also used : CreateSavingsAccountSearchPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountSearchPage) CreateSavingsAccountConfirmationPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage) SavingsAccountDetailPage(org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage) CreateSavingsAccountEntryPage(org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage)

Aggregations

CreateSavingsAccountEntryPage (org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage)5 CreateSavingsAccountSearchPage (org.mifos.test.acceptance.framework.savings.CreateSavingsAccountSearchPage)5 CreateSavingsAccountConfirmationPage (org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage)3 SavingsAccountDetailPage (org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage)3 QuestionnairePage (org.mifos.test.acceptance.framework.questionnaire.QuestionnairePage)1