use of org.mifos.test.acceptance.framework.savings.SavingsDepositWithdrawalConfirmationPage in project head by mifos.
the class SavingsAccountHelper method makeDepositOrWithdrawalOnSavingsAccount.
public SavingsAccountDetailPage makeDepositOrWithdrawalOnSavingsAccount(String savingsAccountID, DepositWithdrawalSavingsParameters params) {
NavigationHelper helper = new NavigationHelper(selenium);
SavingsAccountDetailPage savingsAccountDetailPage = helper.navigateToSavingsAccountDetailPage(savingsAccountID);
savingsAccountDetailPage.verifyPage();
SavingsDepositWithdrawalPage savingsDepositWithdrawalPage = savingsAccountDetailPage.navigateToDepositWithdrawalPage();
savingsDepositWithdrawalPage.verifyPage();
SavingsDepositWithdrawalConfirmationPage savingsDepositWithdrawalConfirmationPage = savingsDepositWithdrawalPage.submitAndNavigateToDepositWithdrawalConfirmationPage(params);
savingsDepositWithdrawalConfirmationPage.verifyPage();
savingsAccountDetailPage = savingsDepositWithdrawalConfirmationPage.submitAndNavigateToSavingsAccountDetailPage();
return savingsAccountDetailPage;
}
Aggregations