Class AbstractBambooPage

    • Field Detail

      • driver

        @Inject
        protected org.openqa.selenium.WebDriver driver
      • pageBinder

        @Inject
        protected com.atlassian.pageobjects.PageBinder pageBinder
      • elementFinder

        @Inject
        protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
      • poller

        @Inject
        protected com.atlassian.webdriver.utils.element.WebDriverPoller poller
      • timeouts

        @Inject
        protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
    • Constructor Detail

      • AbstractBambooPage

        public AbstractBambooPage()
    • Method Detail

      • doWait

        public void doWait()

        This uses isPageLoaded() by default.

        If different wait functionality is required, just override this method.

      • ensureIndicatorPresent

        public void ensureIndicatorPresent()

        Checks for presence of indicator() by default.

        If different wait functionality is required, just override this method.

      • isPageLoaded

        protected com.atlassian.pageobjects.elements.query.TimedCondition isPageLoaded()
        This indicates that the page has loaded and the presence of indicator may be verified.
        Returns:
        time condition indication that the page has loaded
      • indicator

        public abstract com.atlassian.pageobjects.elements.PageElement indicator()
        This must return an element whose presence indicates that we're on given page.
        Returns:
        element uniquely identifying given page
      • isAdmin

        public boolean isAdmin()
      • isLoggedIn

        public boolean isLoggedIn()
      • sendEscapeKey

        protected void sendEscapeKey()
      • waitUntilElementIsVisible

        public void waitUntilElementIsVisible​(org.openqa.selenium.By by)
      • waitUntilElementIsNotVisible

        protected void waitUntilElementIsNotVisible​(org.openqa.selenium.By by)
      • waitUntilElementIsLocated

        protected void waitUntilElementIsLocated​(org.openqa.selenium.By by)
      • waitUntilElementIsNotLocated

        public void waitUntilElementIsNotLocated​(org.openqa.selenium.By by)
      • click

        protected void click​(com.atlassian.pageobjects.elements.PageElement pageElement)
      • getTimeouts

        public com.atlassian.pageobjects.elements.timeout.Timeouts getTimeouts()