com.atlassian.jira.functest.framework.admin.user
Class DeleteUserPage

java.lang.Object
  extended by com.atlassian.jira.functest.framework.page.AbstractWebTestPage
      extended by com.atlassian.jira.functest.framework.admin.user.DeleteUserPage
All Implemented Interfaces:
WebTestPage

public class DeleteUserPage
extends AbstractWebTestPage


Field Summary
static Pattern ASSIGNED_ISSUES
           
static Pattern FAVORITED_DASHBOARDS
           
static Pattern FAVORITED_FILTERS
           
static Pattern REPORTED_ISSUES
           
static Pattern SHARED_DASHBOARDS
           
static Pattern SHARED_FILTERS
           
static String USER_CANNOT_DELETE_SELF
           
static String USER_CANNOT_DELETE_SYSADMIN
           
 
Fields inherited from class com.atlassian.jira.functest.framework.page.AbstractWebTestPage
funcTestHelperFactory
 
Constructor Summary
DeleteUserPage()
           
 
Method Summary
 String baseUrl()
           
 DeleteUserPage clickDeleteUser()
           
 DeleteUserPage confirmNoDeleteButtonPresent()
           
static String generateDeleteQueryParameters(String user)
           
static String generateDeleteQueryParametersWithXsrf(String user, HtmlPage page)
           
 CssLocator getComponentLink()
           
 String getNonAdminDeletingSysAdminErrorMessage()
           
 String getNumberForPluginErrorNamed(Pattern errorPattern)
           
 String getNumberFromErrorFieldNamed(Pattern errorPattern)
           
 String getNumberFromWarningFieldNamed(Pattern warningPattern)
           
 String getNumberFromWarningFieldNamedNoLink(Pattern warningPattern)
           
 CssLocator getProjectLink()
           
 String getUserCannotBeDeleteMessage(String user)
           
 String getUserDeleteSelfError()
           
 String getUserDeletionError()
           
 
Methods inherited from class com.atlassian.jira.functest.framework.page.AbstractWebTestPage
getTableWithId, getTester, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHARED_FILTERS

public static final Pattern SHARED_FILTERS

FAVORITED_FILTERS

public static final Pattern FAVORITED_FILTERS

SHARED_DASHBOARDS

public static final Pattern SHARED_DASHBOARDS

FAVORITED_DASHBOARDS

public static final Pattern FAVORITED_DASHBOARDS

ASSIGNED_ISSUES

public static final Pattern ASSIGNED_ISSUES

REPORTED_ISSUES

public static final Pattern REPORTED_ISSUES

USER_CANNOT_DELETE_SYSADMIN

public static final String USER_CANNOT_DELETE_SYSADMIN
See Also:
Constant Field Values

USER_CANNOT_DELETE_SELF

public static final String USER_CANNOT_DELETE_SELF
See Also:
Constant Field Values
Constructor Detail

DeleteUserPage

public DeleteUserPage()
Method Detail

getUserCannotBeDeleteMessage

public String getUserCannotBeDeleteMessage(String user)

clickDeleteUser

public DeleteUserPage clickDeleteUser()

generateDeleteQueryParameters

public static String generateDeleteQueryParameters(String user)

generateDeleteQueryParametersWithXsrf

public static String generateDeleteQueryParametersWithXsrf(String user,
                                                           HtmlPage page)

confirmNoDeleteButtonPresent

public DeleteUserPage confirmNoDeleteButtonPresent()

getNumberForPluginErrorNamed

public String getNumberForPluginErrorNamed(Pattern errorPattern)

getUserDeletionError

public String getUserDeletionError()

getUserDeleteSelfError

public String getUserDeleteSelfError()

getNonAdminDeletingSysAdminErrorMessage

public String getNonAdminDeletingSysAdminErrorMessage()

getNumberFromErrorFieldNamed

public String getNumberFromErrorFieldNamed(Pattern errorPattern)

getNumberFromWarningFieldNamed

public String getNumberFromWarningFieldNamed(Pattern warningPattern)

getNumberFromWarningFieldNamedNoLink

public String getNumberFromWarningFieldNamedNoLink(Pattern warningPattern)

getProjectLink

public CssLocator getProjectLink()

getComponentLink

public CssLocator getComponentLink()

baseUrl

public String baseUrl()


Copyright © 2002-2014 Atlassian. All Rights Reserved.