com.atlassian.mywork.pageobjects.mobile
Class MobileNotificationsPage

java.lang.Object
  extended by com.atlassian.mywork.pageobjects.AbstractPageObject
      extended by com.atlassian.mywork.pageobjects.mobile.MobilePageObject
          extended by com.atlassian.mywork.pageobjects.mobile.MobileNotificationsPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class MobileNotificationsPage
extends MobilePageObject
implements com.atlassian.pageobjects.Page


Field Summary
static java.lang.String NOTIFICATIONS_LIST
           
 
Fields inherited from class com.atlassian.mywork.pageobjects.mobile.MobilePageObject
MOBILE_URL
 
Fields inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
elementFinder, pageBinder, ROOT_URL
 
Constructor Summary
MobileNotificationsPage()
           
 
Method Summary
 NotificationItem getFirstNotificationItem()
          Teeny helper method to return the first item so you don't have to get it yourself.
 java.util.List<NotificationItem> getNotificationItems()
           
 java.lang.String getUrl()
           
 Flyout openFlyout()
          Click the Flyout button to slide it out on the left.
 MobileTasksPage switchToTasks()
           
 MobileNotificationsPage waitUntilLoaded()
           
 void waitUntilReady()
           
 MobileNotificationsPage waitUntilVisible()
          The WaitUntil binding above only waits until present so clicks on elements might not work.
 
Methods inherited from class com.atlassian.mywork.pageobjects.mobile.MobilePageObject
backButton, switchTo
 
Methods inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
waitForTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTIFICATIONS_LIST

public static final java.lang.String NOTIFICATIONS_LIST
See Also:
Constant Field Values
Constructor Detail

MobileNotificationsPage

public MobileNotificationsPage()
Method Detail

getUrl

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

waitUntilReady

public void waitUntilReady()

waitUntilLoaded

public MobileNotificationsPage waitUntilLoaded()

waitUntilVisible

public MobileNotificationsPage waitUntilVisible()
The WaitUntil binding above only waits until present so clicks on elements might not work. Might end up just waiting on this instead?


switchToTasks

public MobileTasksPage switchToTasks()

getNotificationItems

public java.util.List<NotificationItem> getNotificationItems()

getFirstNotificationItem

public NotificationItem getFirstNotificationItem()
Teeny helper method to return the first item so you don't have to get it yourself.


openFlyout

public Flyout openFlyout()
Click the Flyout button to slide it out on the left.



Copyright © 2012 Atlassian. All Rights Reserved.