use of org.mifos.test.acceptance.framework.group.GroupViewDetailsPage in project head by mifos.
the class AttachSurveyLinkTest method attachSurveyToGroup.
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
private void attachSurveyToGroup() throws Exception {
GroupViewDetailsPage groupViewDetailsPage = navigationHelper.navigateToGroupViewDetailsPage("Default Group");
AttachSurveyPage attachSurveyPage = groupViewDetailsPage.navigateToAttachSurveyPage();
attachSurveyPage.verifyPage("selectQuestionnaire");
}
use of org.mifos.test.acceptance.framework.group.GroupViewDetailsPage in project head by mifos.
the class GroupTestHelper method changeGroupStatus.
public GroupViewDetailsPage changeGroupStatus(String groupName, EditCustomerStatusParameters editCustomerStatusParameters) {
GroupViewDetailsPage groupViewDetailsPage = navigationHelper.navigateToGroupViewDetailsPage(groupName).navigateToEditGroupStatusPage().setChangeStatusParametersAndSubmit(editCustomerStatusParameters).navigateToGroupDetailsPage();
groupViewDetailsPage.verifyStatus(editCustomerStatusParameters);
return groupViewDetailsPage;
}
use of org.mifos.test.acceptance.framework.group.GroupViewDetailsPage in project head by mifos.
the class NavigationHelper method navigateToGroupViewDetailsPage.
public GroupViewDetailsPage navigateToGroupViewDetailsPage(String groupName) {
HomePage homePage = navigateToHomePage();
SearchResultsPage searchResultsPage = homePage.search(groupName);
searchResultsPage.verifyPage();
GroupViewDetailsPage groupDetailsPage = searchResultsPage.navigateToGroupViewDetailsPage("link=" + groupName + "*");
return groupDetailsPage;
}
use of org.mifos.test.acceptance.framework.group.GroupViewDetailsPage in project head by mifos.
the class ViewClosedAccountsTest method navigateToGroupDetailsFromClosedAccounts.
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void navigateToGroupDetailsFromClosedAccounts() throws Exception {
LoginPage loginPage = appLauncher.launchMifos();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
homePage.verifyPage();
SearchResultsPage searchResultsPage = homePage.search("groupWithoutLoan ");
searchResultsPage.verifyPage();
GroupViewDetailsPage groupViewDetailsPage = searchResultsPage.navigateToGroupViewDetailsPage("link=groupWithoutLoan*");
ClosedAccountsPage closedAccountsPage = groupViewDetailsPage.navigateToClosedAccountsPage();
closedAccountsPage.verifyPage();
closedAccountsPage.returnToGroupViewDetailsPage();
}
use of org.mifos.test.acceptance.framework.group.GroupViewDetailsPage 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