Search in sources :

Example 1 with ConfirmCenterMembershipPage

use of org.mifos.test.acceptance.framework.group.ConfirmCenterMembershipPage 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");
}
Also used : ConfirmCenterMembershipPage(org.mifos.test.acceptance.framework.group.ConfirmCenterMembershipPage) CenterSearchTransferGroupPage(org.mifos.test.acceptance.framework.group.CenterSearchTransferGroupPage) CreateGroupSubmitParameters(org.mifos.test.acceptance.framework.group.CreateGroupEntryPage.CreateGroupSubmitParameters) GroupViewDetailsPage(org.mifos.test.acceptance.framework.group.GroupViewDetailsPage) CreateGroupEntryPage(org.mifos.test.acceptance.framework.group.CreateGroupEntryPage) CreateGroupConfirmationPage(org.mifos.test.acceptance.framework.group.CreateGroupConfirmationPage) Test(org.testng.annotations.Test)

Aggregations

CenterSearchTransferGroupPage (org.mifos.test.acceptance.framework.group.CenterSearchTransferGroupPage)1 ConfirmCenterMembershipPage (org.mifos.test.acceptance.framework.group.ConfirmCenterMembershipPage)1 CreateGroupConfirmationPage (org.mifos.test.acceptance.framework.group.CreateGroupConfirmationPage)1 CreateGroupEntryPage (org.mifos.test.acceptance.framework.group.CreateGroupEntryPage)1 CreateGroupSubmitParameters (org.mifos.test.acceptance.framework.group.CreateGroupEntryPage.CreateGroupSubmitParameters)1 GroupViewDetailsPage (org.mifos.test.acceptance.framework.group.GroupViewDetailsPage)1 Test (org.testng.annotations.Test)1