Class NotificationsPage

  • All Implemented Interfaces:
    com.atlassian.pageobjects.Page

    public class NotificationsPage
    extends AbstractPageObject
    implements com.atlassian.pageobjects.Page
    • Constructor Detail

      • NotificationsPage

        public NotificationsPage()
      • NotificationsPage

        public NotificationsPage​(int max)
    • Method Detail

      • getUrl

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

        public void waitUntilReady()
      • switchToTasks

        public TasksPage switchToTasks()
      • shouldMigrate

        public boolean shouldMigrate()
      • hasNoNotifications

        public boolean hasNoNotifications()
      • close

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

        public String getFocusedTitle()
      • sendKeys

        public void sendKeys​(CharSequence... shortcut)
        Sends the provided shortcut as keys to test keyboard shortcuts
        Parameters:
        shortcut - string representing the key(s) to be pressed. eg: 'j'
      • pressTab

        public void pressTab()
      • pressShiftTab

        public void pressShiftTab()
      • waitMoreButtonDisappear

        public void waitMoreButtonDisappear()
      • waitDialogClose

        public void waitDialogClose()