public class EditPermissionsSinglePage extends EditPermissionsPage
Modifier and Type | Class and Description |
---|---|
static class |
EditPermissionsSinglePage.GrantPermissionsDialog
Dialog to grant permissions
NOTE: This page object assumes the locale was set to EN_MOON
|
static class |
EditPermissionsSinglePage.PermissionsEntry
Permissions entry (inside permissions container)
NOTE: This page object assumes the locale was set to EN_MOON
|
static class |
EditPermissionsSinglePage.RevokePermissionsDialog
Dialog to revoke permissions
NOTE: This page object assumes the locale was set to EN_MOON
|
EditPermissionsPage.DeleteLink, EditPermissionsPage.PermissionsRow, EditPermissionsPage.PermissionsRowPermission
LEGACY_PROJECT_PERMISSIONS_PAGE_DARK_FEATURE
body, driver, elementFinder, metaElement, pageBinder, timeouts
Constructor and Description |
---|
EditPermissionsSinglePage(int schemeId) |
EditPermissionsSinglePage(long schemeId)
Created so it would work if we use the FuncTestConstants.DEFAULT_PERM_SCHEME_ID for example
|
Modifier and Type | Method and Description |
---|---|
void |
assertExtendedPermissionIsChecked() |
void |
assertExtendedPermissionIsHidden() |
void |
assertExtendedPermissionIsUnchecked() |
void |
assertExtendedPermissionIsVisible() |
static String |
getPageUrl(int schemeId)
Used to be able to get the page url for this given page type.
|
EditPermissionsSinglePage.PermissionsEntry |
getPermissionEntry(ProjectPermissionKey projectPermissionKey)
Get the container for a given permission key
|
EditPermissionsSinglePage.PermissionsEntry |
getPermissionEntry(String permissionKey)
Get the container for a given permission.
|
String |
getUrl() |
LozengeUsedBy |
getUsedBy() |
boolean |
hasGrantPermissionButton() |
boolean |
hasHeaderPluginPoint() |
boolean |
hasInvalidUserWarningForSection(String sectionTitle) |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasOptOutFlagDialogDisplayed() |
boolean |
hasPermissionEntry(ProjectPermissionKey projectPermissionKey)
Determines whether an entry exists for the specified permission.
|
boolean |
hasPermissionEntry(String permission)
Determines whether an entry exists for the specified permission.
|
boolean |
invalidUserWarningMessageContains(String permissionKey,
String username) |
com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page.
|
boolean |
isSingleUserPermDisplayedAsInvalidUser(String permissionKey,
String username) |
EditPermissionsSinglePage.GrantPermissionsDialog |
openDialogFromGrantPermissionButton() |
void |
toggleExtendedProjectAdminCheckbox() |
addForPermission, deleteForGroup, getPermissionById, getPermissionsContainer, getPermissionsDeleteLinkIdsByPermission, getPermissionsRowByPermission, getSchemeId, hasPermissionRow
back, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
public EditPermissionsSinglePage(int schemeId)
public EditPermissionsSinglePage(long schemeId)
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
isAt
in class EditPermissionsPage
public String getUrl()
getUrl
in interface com.atlassian.pageobjects.Page
getUrl
in class EditPermissionsPage
public static String getPageUrl(int schemeId)
schemeId
- of a the pagepublic boolean hasPermissionEntry(String permission)
permission
- name of permissionpublic boolean hasPermissionEntry(ProjectPermissionKey projectPermissionKey)
projectPermissionKey
- key of the permissionpublic EditPermissionsSinglePage.PermissionsEntry getPermissionEntry(String permissionKey)
permissionKey
- key of permissionEditPermissionsSinglePage.PermissionsEntry
public EditPermissionsSinglePage.PermissionsEntry getPermissionEntry(ProjectPermissionKey projectPermissionKey)
projectPermissionKey
- for the permissionEditPermissionsSinglePage.PermissionsEntry
public boolean hasHeaderPluginPoint()
public boolean hasGrantPermissionButton()
public void assertExtendedPermissionIsVisible()
public void assertExtendedPermissionIsHidden()
public void assertExtendedPermissionIsChecked()
public void assertExtendedPermissionIsUnchecked()
public void toggleExtendedProjectAdminCheckbox()
public com.atlassian.pageobjects.elements.query.TimedCondition hasOptOutFlagDialogDisplayed()
public EditPermissionsSinglePage.GrantPermissionsDialog openDialogFromGrantPermissionButton()
public LozengeUsedBy getUsedBy()
public boolean isSingleUserPermDisplayedAsInvalidUser(String permissionKey, String username)
public boolean hasInvalidUserWarningForSection(String sectionTitle)
Copyright © 2002-2022 Atlassian. All Rights Reserved.