com.atlassian.jira.pageobjects.pages.admin.user
Class EditUserGroupsPage
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.admin.user.EditUserGroupsPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
public class EditUserGroupsPage
- extends AbstractJiraPage
- Since:
- 4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditUserGroupsPage
public EditUserGroupsPage()
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.