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;
}
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;
}
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;
}
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;
}
Aggregations