use of org.mifos.test.acceptance.framework.group.CenterSearchTransferGroupPage in project head by mifos.
the class GroupTest method changeCenterMembership.
@Test(singleThreaded = true, groups = { "group", "acceptance", "ui", "no_db_unit" })
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void changeCenterMembership() throws Exception {
CreateGroupEntryPage groupEntryPage = loginAndNavigateToNewGroupPage();
CreateGroupSubmitParameters formParameters = getGenericGroupFormParameters();
CreateGroupConfirmationPage confirmationPage = groupEntryPage.submitNewGroupForApproval(formParameters);
confirmationPage.verifyPage();
GroupViewDetailsPage groupDetailsPage = confirmationPage.navigateToGroupDetailsPage();
CenterSearchTransferGroupPage centerSearchTransfer = groupDetailsPage.editCenterMembership();
centerSearchTransfer.verifyPage();
ConfirmCenterMembershipPage confirmMembership = centerSearchTransfer.search("WeeklyMeetingCenter");
confirmMembership.verifyPage();
groupDetailsPage = confirmMembership.submitMembershipChange();
groupDetailsPage.verifyLoanOfficer(" Loan officer: loan officer");
}
Aggregations