com.atlassian.webdriver.jira.page.user
Class EditUserGroupsPage
java.lang.Object
com.atlassian.webdriver.jira.page.JiraAbstractPage
com.atlassian.webdriver.jira.page.JiraAdminAbstractPage
com.atlassian.webdriver.jira.page.user.EditUserGroupsPage
- All Implemented Interfaces:
- Page
public class EditUserGroupsPage
- extends JiraAdminAbstractPage
Page object implementation for the edit user's group page in JIRA.
- Since:
- 2.0
| 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()
- Returns:
- The URI, including query string, relative to the base url
parsePage
public void parsePage()
hasErrors
public boolean hasErrors()
hasError
public boolean hasError(String errorStr)
returnToUserView
public ViewUserPage returnToUserView()
addToGroupsAndReturnToPage
public <T extends 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 Page> T removeFromGroupsAndReturnToPage(Class<T> pageClass,
String... groups)
removeFromGroupsExpectingError
public EditUserGroupsPage removeFromGroupsExpectingError(String... groups)
Copyright © 2014 Atlassian. All rights reserved.