public class ViewProjectRolesPage extends AbstractJiraAdminPage
Modifier and Type | Class and Description |
---|---|
static class |
ViewProjectRolesPage.ProjectRole |
Modifier and Type | Field and Description |
---|---|
protected ExtendedElementFinder |
extendedFinder |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
projectRolesContainer |
protected com.atlassian.pageobjects.elements.PageElement |
roleDescriptionField |
protected com.atlassian.pageobjects.elements.PageElement |
roleNameField |
protected com.atlassian.pageobjects.elements.PageElement |
roleSubmitLink |
body, driver, elementFinder, javascriptExecutor, metaElement, timeouts, webDriverPoller
Constructor and Description |
---|
ViewProjectRolesPage() |
Modifier and Type | Method and Description |
---|---|
ViewProjectRolesPage.ProjectRole |
addProjectRole(String projectRoleName,
String projectRoleDescription) |
ViewProjectRolesPage.ProjectRole |
getProjectRole(String projectRoleName)
Returns a ProjectRole given the page element id (not the project role numeric id)
|
com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<ViewProjectRolesPage.ProjectRole>> |
getProjectRoles() |
String |
getUrl() |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasProjectRole(String projectRoleName) |
com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page.
|
String |
linkId()
ID of the link in the admin menu.
|
back, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected ExtendedElementFinder extendedFinder
protected com.atlassian.pageobjects.elements.PageElement roleSubmitLink
protected com.atlassian.pageobjects.elements.PageElement projectRolesContainer
protected com.atlassian.pageobjects.elements.PageElement roleNameField
protected com.atlassian.pageobjects.elements.PageElement roleDescriptionField
public String linkId()
AbstractJiraAdminPage
linkId
in class AbstractJiraAdminPage
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
AbstractJiraPage
isAt
in class AbstractJiraPage
public String getUrl()
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<ViewProjectRolesPage.ProjectRole>> getProjectRoles()
public com.atlassian.pageobjects.elements.query.TimedCondition hasProjectRole(String projectRoleName)
public ViewProjectRolesPage.ProjectRole getProjectRole(String projectRoleName)
projectRoleName
- public ViewProjectRolesPage.ProjectRole addProjectRole(String projectRoleName, String projectRoleDescription)
Copyright © 2002-2023 Atlassian. All Rights Reserved.