Class MobileNotificationsPage
- java.lang.Object
-
- com.atlassian.mywork.pageobjects.AbstractPageObject
-
- com.atlassian.mywork.pageobjects.mobile.MobilePageObject
-
- 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
Fields Modifier and Type Field Description static StringNOTIFICATIONS_LIST-
Fields inherited from class com.atlassian.mywork.pageobjects.mobile.MobilePageObject
driver, MOBILE_URL
-
Fields inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
elementFinder, pageBinder, ROOT_URL
-
-
Constructor Summary
Constructors Constructor Description MobileNotificationsPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationItemgetFirstNotificationItem()Teeny helper method to return the first item so you don't have to get it yourself.List<NotificationItem>getNotificationItems()StringgetUrl()FlyoutopenFlyout()Click the Flyout button to slide it out on the left.MobileTasksPageswitchToTasks()MobileNotificationsPagewaitUntilLoaded()voidwaitUntilReady()MobileNotificationsPagewaitUntilVisible()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
-
-
-
-
Field Detail
-
NOTIFICATIONS_LIST
public static final String NOTIFICATIONS_LIST
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUrl
public String getUrl()
- Specified by:
getUrlin interfacecom.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 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.
-
-