|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.pageobjects.pages.AbstractJiraPage
com.atlassian.jira.pageobjects.pages.admin.user.ViewUserPage
com.atlassian.studio.haup.pageobjects.ViewUserWithAppPermissionsPage
public class ViewUserWithAppPermissionsPage
Represents HAUP-modified ViewUser page which includes the application permissions.
| Field Summary | |
|---|---|
protected com.atlassian.pageobjects.elements.PageElement |
footer
|
| Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage |
|---|
body, driver, elementFinder, footerElement, metaElement, pageBinder |
| Constructor Summary | |
|---|---|
ViewUserWithAppPermissionsPage()
|
|
| Method Summary | |
|---|---|
Set<SupportedApplication> |
getGrantedApplications()
Gets the granted applications. |
RemainingAccessSection |
getRemainingAccessSection()
Returns the remaining access section on the page. |
ViewUserWithAppPermissionsPage |
goEditMode()
Switches to edit mode. |
ViewUserWithAppPermissionsPage |
goViewMode()
Switches to view mode. |
ViewUserWithAppPermissionsPage |
grantAccess(SupportedApplication application)
Grants the user access to the specified application. |
boolean |
isApplicationEditCheckboxPresentForApp(SupportedApplication application)
Checks whether the UI displays a 'grant/revoke access' checkbox for the specified app |
boolean |
isApplicationSectionVisible()
Checks whether the UI displays the 'application' section |
boolean |
isButtonPanelVisible()
Checks whether the UI is currently in edit mode. |
boolean |
isGranted(SupportedApplication application)
Checks whether the user has access to the specified application. |
boolean |
isRemainingValuePresentForApp(SupportedApplication application)
Checks whether the UI displays a remaining access count for the specified app |
ViewUserWithAppPermissionsPage |
revokeAccess(SupportedApplication application)
Revokes the user access to the specified application. |
RevokeAccessWarningMessageDialog |
revokeAccessExpectingWarningMessage(SupportedApplication application)
Revokes the user access to the specified application, and expects a warning message dialog. |
ViewUserWithAppPermissionsPage |
setAccess(SupportedApplication application,
boolean hasAccess)
Sets whether the user has access to the specified application. |
ViewUserWithAppPermissionsPage |
submitApplications()
Saves the selected accessible applications. |
| Methods inherited from class com.atlassian.jira.pageobjects.pages.admin.user.ViewUserPage |
|---|
editDetails, editGroups, editProperties, getCurrentFailedLoginCount, getEmail, getFullname, getLastFailedLogin, getLastLogin, getLoginCount, getPreviousLogin, getTotalFailedLoginCount, getUrl, getUsername, gotoDeleteUserPage, isAt, setPassword, viewProjectsRoles, viewPublicProfile |
| Methods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage |
|---|
back, createXsrfUrl, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.atlassian.pageobjects.elements.PageElement footer
| Constructor Detail |
|---|
public ViewUserWithAppPermissionsPage()
| Method Detail |
|---|
public ViewUserWithAppPermissionsPage setAccess(SupportedApplication application,
boolean hasAccess)
goEditMode().
application - applicationhasAccess - true if the user should have access to the application. Otherwise
false.
public ViewUserWithAppPermissionsPage grantAccess(SupportedApplication application)
goEditMode().
application - application
public ViewUserWithAppPermissionsPage revokeAccess(SupportedApplication application)
goEditMode().
application - application
public RevokeAccessWarningMessageDialog revokeAccessExpectingWarningMessage(SupportedApplication application)
goEditMode().
application - application
public boolean isGranted(SupportedApplication application)
goEditMode().
application - application
public boolean isButtonPanelVisible()
public boolean isApplicationEditCheckboxPresentForApp(SupportedApplication application)
application -
public boolean isRemainingValuePresentForApp(SupportedApplication application)
application -
public boolean isApplicationSectionVisible()
public ViewUserWithAppPermissionsPage goEditMode()
public ViewUserWithAppPermissionsPage goViewMode()
public ViewUserWithAppPermissionsPage submitApplications()
public Set<SupportedApplication> getGrantedApplications()
goViewMode().
public RemainingAccessSection getRemainingAccessSection()
goEditMode().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||