コード例 #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();
  }
コード例 #2
0
 @Override
 public JiraWebSudo authenticateFail(String password) {
   passwordElement.clear();
   if (StringUtils.isNotBlank(password)) {
     passwordElement.type(password);
   }
   submit(submitElement);
   return this;
 }
コード例 #3
0
 public EditUserPasswordPage fillPasswordFields(String newPassword) {
   password.clear().type(newPassword);
   confirm.clear().type(newPassword);
   return this;
 }
コード例 #4
0
 public EditUserDetailsPage fillUserEmail(final String newUserEmail) {
   currentUserEmail.clear().type(newUserEmail);
   return this;
 }
コード例 #5
0
 public EditUserDetailsPage fillUserFullName(final String newUserFullName) {
   currentUserFullName.clear().type(newUserFullName);
   return this;
 }