use of org.mifos.test.acceptance.framework.loan.UndoLoanDisbursalSearchPage in project head by mifos.
the class UndoLoanDisbursalTest method reverseGroupLoanWhenAccInDiffStatus.
/**
* Verify whether the user can reverse a Group loan when the Account is in different status
* Group loan.
* http://mifosforge.jira.com/browse/MIFOSTEST-26
*
* @throws Exception
*/
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void reverseGroupLoanWhenAccInDiffStatus() throws Exception {
String groupID = "0002-000000004";
String groupLoanID = "000100000000042";
String resultClickLink = "group1: ID 0002-000000004";
GroupViewDetailsPage groupViewDetailsPage = (GroupViewDetailsPage) loanTestHelper.reverseLoanDisbursal(groupLoanID, groupID, true, resultClickLink);
groupViewDetailsPage.verifyLoanDoesntExist("Acct #" + groupLoanID);
String loanID = "000100000000011";
UndoLoanDisbursalSearchPage undoSearchPage = new NavigationHelper(selenium).navigateToAdminPage().navigateToUndoLoanDisbursal();
undoSearchPage.verifyLoanCantBeReversed(loanID);
}
Aggregations