use of org.mifos.test.acceptance.framework.admin.ViewSystemUsersPage in project head by mifos.
the class PersonnelTest method findUserTest.
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@Test(enabled = true, groups = { "acceptance" })
public void findUserTest() throws Exception {
CreateUserParameters formParameters = new CreateUserParameters();
AdminPage adminPage = navigationHelper.navigateToAdminPage();
formParameters = adminPage.getAdminUserParameters();
formParameters.setSecondLastName("SecondLastName" + StringUtil.getRandomString(8));
//When
userHelper.createUser(formParameters, "MyOfficeDHMFT");
//Then
ViewSystemUsersPage findUserPage = navigationHelper.navigateToFindUserPage();
String secondLastName = formParameters.getSecondLastName();
findUserPage.searchAndNavigateToUserViewDetailsPage(secondLastName);
}
use of org.mifos.test.acceptance.framework.admin.ViewSystemUsersPage in project head by mifos.
the class NavigationHelper method navigateToFindUserPage.
public ViewSystemUsersPage navigateToFindUserPage() {
AdminPage adminPage = navigateToAdminPage();
ViewSystemUsersPage findUserPage = adminPage.navigateToViewSystemUsersPage();
return findUserPage;
}
Aggregations