com.atlassian.jira.pageobjects.pages
Class ViewProfilePage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.ViewProfilePage
All Implemented Interfaces:
TabPage<ViewProfileTab>, com.atlassian.pageobjects.Page

public class ViewProfilePage
extends AbstractJiraPage
implements TabPage<ViewProfileTab>

Since:
v5.1

Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder, timeouts
 
Constructor Summary
ViewProfilePage()
           
 
Method Summary
 EditProfilePage edit()
           
 com.atlassian.pageobjects.elements.PageElement getMimeType()
           
 String getUrl()
           
<T extends ViewProfileTab>
T
goBackTo(Class<T> tabClass)
           
 boolean hasActivityStream()
          since v6.2
 boolean hasFilters()
           
 boolean hasProfileDetails()
           
 boolean hasProfilePreferences()
           
 boolean hasTab(Class<? extends ViewProfileTab> tabClass)
          Check whether this page has given tab.
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 UserSummaryTab openSummaryTab()
           
<T extends ViewProfileTab>
T
openTab(Class<T> tabClass)
          Open tab of given type.
 UserAvatarDialog userAvatar()
           
 
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
 

Constructor Detail

ViewProfilePage

public ViewProfilePage()
Method Detail

isAt

public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
Description copied from class: AbstractJiraPage
Timed condition checking if we're at given page.

Specified by:
isAt in class AbstractJiraPage
Returns:
timed condition checking, if the test is at given page

getUrl

public String getUrl()
Specified by:
getUrl in interface com.atlassian.pageobjects.Page

userAvatar

public UserAvatarDialog userAvatar()

edit

public EditProfilePage edit()

hasFilters

public boolean hasFilters()
Returns:
true if the filters button is presented on the profile page
Since:
v6.2

hasActivityStream

public boolean hasActivityStream()
since v6.2

Returns:
true if the activity stream panel is presented on the profile page

hasProfileDetails

public boolean hasProfileDetails()
Returns:
true if the user profile panel is presented on the profile page
Since:
v6.2

hasProfilePreferences

public boolean hasProfilePreferences()
Returns:
true if the profile preferences panel is presented on the profile page
Since:
v6.2

getMimeType

public com.atlassian.pageobjects.elements.PageElement getMimeType()

openSummaryTab

public UserSummaryTab openSummaryTab()

openTab

public <T extends ViewProfileTab> T openTab(Class<T> tabClass)
Description copied from interface: TabPage
Open tab of given type.

Specified by:
openTab in interface TabPage<ViewProfileTab>
Type Parameters:
T - tab parameter of the tab
Parameters:
tabClass - type of the tab
Returns:
open tab

goBackTo

public <T extends ViewProfileTab> T goBackTo(Class<T> tabClass)

hasTab

public boolean hasTab(Class<? extends ViewProfileTab> tabClass)
Description copied from interface: TabPage
Check whether this page has given tab.

Specified by:
hasTab in interface TabPage<ViewProfileTab>
Parameters:
tabClass - tab class
Returns:
true, if this page has the tab


Copyright © 2002-2014 Atlassian. All Rights Reserved.