com.atlassian.mywork.pageobjects
Class NotificationsPage

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

public class NotificationsPage
extends AbstractPageObject
implements com.atlassian.pageobjects.Page


Field Summary
 
Fields inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
elementFinder, pageBinder, ROOT_URL
 
Constructor Summary
NotificationsPage()
           
NotificationsPage(int max)
           
 
Method Summary
 void close()
          Closes the Notifications dialog by pressing Escape in it.
 java.lang.String getFocusedTitle()
           
 java.util.List<NotificationItem> getNotificationItems()
           
 java.lang.String getUrl()
           
 NotificationDrilldownPage gotoDrilldownViaKeyboard()
           
 boolean hasNoNotifications()
           
 NotificationsPage more()
           
 void sendKeys(java.lang.String shortcut)
          Sends the provided shortcut as keys to test keyboard shortcuts
 TasksPage switchToTasks()
           
 void waitUntilReady()
           
 
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
 

Constructor Detail

NotificationsPage

public NotificationsPage()

NotificationsPage

public NotificationsPage(int max)
Method Detail

getUrl

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

waitUntilReady

public void waitUntilReady()

switchToTasks

public TasksPage switchToTasks()

getNotificationItems

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

hasNoNotifications

public boolean hasNoNotifications()

close

public void close()
Closes the Notifications dialog by pressing Escape in it.


more

public NotificationsPage more()

getFocusedTitle

public java.lang.String getFocusedTitle()

sendKeys

public void sendKeys(java.lang.String shortcut)
Sends the provided shortcut as keys to test keyboard shortcuts

Parameters:
shortcut - string representing the key(s) to be pressed. eg: 'j'

gotoDrilldownViaKeyboard

public NotificationDrilldownPage gotoDrilldownViaKeyboard()


Copyright © 2012 Atlassian. All Rights Reserved.