use of org.mifos.test.acceptance.framework.admin.ViewOfficeHierarchyPage in project head by mifos.
the class ViewOfficeHierarchyTest method verifyViewOfficeHierarchyPage.
@Test
public void verifyViewOfficeHierarchyPage() {
AdminPage adminPage = loginAndGoToAdminPage();
ViewOfficeHierarchyPage viewOfficeHierarchyPage = adminPage.navigateToViewOfficeHierarchyPage();
viewOfficeHierarchyPage.verifyPage();
String[] expectedText = new String[] { "The office hierarchy can have minimum two and maximum five levels", "Check the levels to be included.", "Note: The highest and lowest hierarchy levels cannot be removed from the system.", "Head Office", "Regional Office", "Divisional Office", "Area Office", "Branch Office" };
viewOfficeHierarchyPage.verifyText(expectedText);
viewOfficeHierarchyPage.verifyHeadOfficeCheckboxChecked();
viewOfficeHierarchyPage.verifyRegionalOfficeCheckboxChecked();
viewOfficeHierarchyPage.verifyDivisionalOfficeCheckboxChecked();
viewOfficeHierarchyPage.verifyAreaOfficeCheckboxChecked();
viewOfficeHierarchyPage.verifyBranchOfficeCheckboxChecked();
viewOfficeHierarchyPage.verifyHeadOfficeCheckboxDisabled();
viewOfficeHierarchyPage.verifyRegionalOfficeCheckboxEnabled();
viewOfficeHierarchyPage.verifyDivisionalOfficeCheckboxEnabled();
viewOfficeHierarchyPage.verifyAreaOfficeCheckboxEnabled();
viewOfficeHierarchyPage.verifyBranchOfficeCheckboxDisabled();
}
Aggregations