示例#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;
 }
 public EditUserPasswordPage fillPasswordFields(String newPassword) {
   password.clear().type(newPassword);
   confirm.clear().type(newPassword);
   return this;
 }
 public EditUserDetailsPage fillUserEmail(final String newUserEmail) {
   currentUserEmail.clear().type(newUserEmail);
   return this;
 }
 public EditUserDetailsPage fillUserFullName(final String newUserFullName) {
   currentUserFullName.clear().type(newUserFullName);
   return this;
 }