Ejemplo n.º 1
0
  public void doLogin(String username, String password) {
    // accessing tag name as workaround for permission denied to access property 'nr@context' issue
    PageElementUtils.permissionDeniedWorkAround(usernameOrEmailInput);

    usernameOrEmailInput.clear().type(username);
    passwordInput.clear().type(password);
    loginButton.click();
  }
 @Override
 public JiraWebSudo authenticateFail(String password) {
   passwordElement.clear();
   if (StringUtils.isNotBlank(password)) {
     passwordElement.type(password);
   }
   submit(submitElement);
   return this;
 }
Ejemplo n.º 3
0
 public EditUserPasswordPage fillPasswordFields(String newPassword) {
   password.clear().type(newPassword);
   confirm.clear().type(newPassword);
   return this;
 }
Ejemplo n.º 4
0
 public EditUserDetailsPage fillUserEmail(final String newUserEmail) {
   currentUserEmail.clear().type(newUserEmail);
   return this;
 }
Ejemplo n.º 5
0
 public EditUserDetailsPage fillUserFullName(final String newUserFullName) {
   currentUserFullName.clear().type(newUserFullName);
   return this;
 }