Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jul 8, 2015
1 parent 120064f commit 63a3177
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Expand Up @@ -18,7 +18,7 @@ public class LoginTest extends BaseTest {
* Logging in to midpoint administrator module with credentials administrator/5ecr3t
*/
@Test
public void login() {
public void loginTest() {
logTestMethodStart(LOGGER, "login");

performLogin(driver);
Expand All @@ -33,7 +33,7 @@ public void login() {
* password value
*/
@Test
public void loginWithIncorrectPassword() {
public void loginWithIncorrectPasswordTest() {
logTestMethodStart(LOGGER, "loginWithIncorrectPassword");

performLogin(driver, userLogin, "incorrectPassword");
Expand All @@ -48,7 +48,7 @@ public void loginWithIncorrectPassword() {
* password value
*/
@Test
public void loginWithIncorrectUsername() {
public void loginWithIncorrectUsernameTest() {
logTestMethodStart(LOGGER, "loginWithIncorrectUsername");

performLogin(driver, "incorrectUsername", userPassword);
Expand Down
Expand Up @@ -18,7 +18,7 @@ public class CreateUserTest extends BaseTest {
* Creating new user in the midPoint administrator module
*/
@Test
public void addNewUser(){
public void addNewUserTest(){
//log in to system asadministrator
performLogin(driver, userLogin, userPassword);

Expand All @@ -44,7 +44,7 @@ public void addNewUser(){
* Attemp to create user without mandatory field Name
*/
@Test
public void createUserWithoutName() {
public void createUserWithoutNameTest() {
//click Users menu item in the top vertical menu
driver.findElement(By.cssSelector("html.no-js body div.navbar.navbar-default.navbar-fixed-top div div.navbar-collapse.collapse ul.nav.navbar-nav li.dropdown a.dropdown-toggle")).click();

Expand Down
Expand Up @@ -11,7 +11,7 @@
public class DeleteUserTest extends BaseTest{

@Test
public void testDeleteUser() throws Exception {
public void deleteUserTest() throws Exception {
//log in to system as administrator
performLogin(driver, userLogin, userPassword);

Expand Down

0 comments on commit 63a3177

Please sign in to comment.