com.atlassian.jira.pageobjects.pages.admin.user
Class EditUserGroupsPage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.admin.user.EditUserGroupsPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class EditUserGroupsPage
extends AbstractJiraPage

Since:
4.4

Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder
 
Constructor Summary
EditUserGroupsPage()
           
 
Method Summary
<T extends com.atlassian.pageobjects.Page>
T
addToGroupsAndReturnToPage(Class<T> pageClass, String... groups)
          Add to groups either redirects the user to another page or returns the user to the EditUserGroupsPage.
 EditUserGroupsPage addToGroupsExpectingError(String... groups)
           
 String getUrl()
           
 boolean hasError(String errorStr)
           
 boolean hasErrors()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 void parsePage()
           
<T extends com.atlassian.pageobjects.Page>
T
removeFromGroupsAndReturnToPage(Class<T> pageClass, String... groups)
           
 EditUserGroupsPage removeFromGroupsExpectingError(String... groups)
           
 ViewUserPage returnToUserView()
           
 
Methods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, createXsrfUrl, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditUserGroupsPage

public EditUserGroupsPage()
Method Detail

getUrl

public String getUrl()

isAt

public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
Description copied from class: AbstractJiraPage
Timed condition checking if we're at given page.

Specified by:
isAt in class AbstractJiraPage
Returns:
timed condition checking, if the test is at given page

parsePage

public void parsePage()

hasErrors

public boolean hasErrors()

hasError

public boolean hasError(String errorStr)

returnToUserView

public ViewUserPage returnToUserView()

addToGroupsAndReturnToPage

public <T extends com.atlassian.pageobjects.Page> T addToGroupsAndReturnToPage(Class<T> pageClass,
                                                                               String... groups)
Add to groups either redirects the user to another page or returns the user to the EditUserGroupsPage.

Parameters:
groups -
Returns:

addToGroupsExpectingError

public EditUserGroupsPage addToGroupsExpectingError(String... groups)

removeFromGroupsAndReturnToPage

public <T extends com.atlassian.pageobjects.Page> T removeFromGroupsAndReturnToPage(Class<T> pageClass,
                                                                                    String... groups)

removeFromGroupsExpectingError

public EditUserGroupsPage removeFromGroupsExpectingError(String... groups)


Copyright © 2002-2012 Atlassian. All Rights Reserved.