Search in sources :

Example 1 with CreateSavingsAccountConfirmationPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage 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 CreateSavingsAccountConfirmationPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage 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 CreateSavingsAccountConfirmationPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage 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)

Example 4 with CreateSavingsAccountConfirmationPage

use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountConfirmationPage 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

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