Class EditPermissionsSinglePage.GrantPermissionsDialog
java.lang.Object
com.atlassian.pageobjects.elements.WebDriverElement
com.atlassian.jira.pageobjects.pages.EditPermissionsSinglePage.GrantPermissionsDialog
- All Implemented Interfaces:
com.atlassian.pageobjects.elements.PageElement
,com.atlassian.pageobjects.elements.PageElementFinder
,com.atlassian.pageobjects.elements.search.PageElementSearch
- Enclosing class:
- EditPermissionsSinglePage
public static final class EditPermissionsSinglePage.GrantPermissionsDialog
extends com.atlassian.pageobjects.elements.WebDriverElement
Dialog to grant permissions
NOTE: This page object assumes the locale was set to EN_MOON
-
Field Summary
Fields inherited from class com.atlassian.pageobjects.elements.WebDriverElement
defaultTimeout, driver, locatable, pageBinder, timeouts, TO_LOCATABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Gets the value of the selected permissions.Checks if there is any selection made in the permissions Select element.void
selectSecurityTypeWithNoInputField
(String securityType) void
void
setPermissionName
(String permissionName) void
setSingleUser
(String user) void
void
showMore()
void
submit()
void
void
Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement
asWebElement, bind, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getCssClasses, getDefaultTimeout, getId, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, search, select, timed, timeout, toLocatable, toString, type, waitForWebElement, waitForWebElement, withTimeout
-
Constructor Details
-
GrantPermissionsDialog
public GrantPermissionsDialog(org.openqa.selenium.By locator)
-
-
Method Details
-
waitUntil
public void waitUntil() -
showMore
public void showMore() -
setSingleUser
-
setGroup
-
setUserCF
-
selectSecurityTypeWithNoInputField
-
setPermissionName
-
getPermissionName
Gets the value of the selected permissions. When multiple are selected, they are separated by whitespace.- Returns:
- value of the selected permissions, empty string in none is selected
-
isAnyPermissionSelected
Checks if there is any selection made in the permissions Select element.- Returns:
- True if any permission is selected, false otherwise
-
submit
public void submit() -
cancel
public void cancel() -
submitAssertSuccessful
public void submitAssertSuccessful()
-