Class BambooLoginPage

  • All Implemented Interfaces:
    com.atlassian.pageobjects.Page, com.atlassian.pageobjects.page.LoginPage

    public class BambooLoginPage
    extends AbstractBambooPage
    implements com.atlassian.pageobjects.page.LoginPage
    • Constructor Detail

      • BambooLoginPage

        public BambooLoginPage()
    • Method Detail

      • getUrl

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

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

        public com.atlassian.pageobjects.elements.PageElement indicator()
        Description copied from class: AbstractBambooPage
        This must return an element whose presence indicates that we're on given page.
        Specified by:
        indicator in class AbstractBambooPage
        Returns:
        element uniquely identifying given page
      • getErrorMessage

        public String getErrorMessage()
      • login

        public <M extends com.atlassian.pageobjects.Page> M login​(String username,
                                                                  String password,
                                                                  Class<M> nextPage)
        Specified by:
        login in interface com.atlassian.pageobjects.page.LoginPage
      • login

        public <M extends com.atlassian.pageobjects.Page> M login​(@NotNull
                                                                  @NotNull TestUser user,
                                                                  Class<M> nextPage)
      • login

        public BambooDashboardPage login​(@NotNull
                                         @NotNull TestUser user)
        Login with default scenario - ending up on the dashboard.
        Parameters:
        user - user
        Returns:
        dashboard page instance
      • loginAsSysAdmin

        public <M extends com.atlassian.pageobjects.Page> M loginAsSysAdmin​(Class<M> nextPage)
        Specified by:
        loginAsSysAdmin in interface com.atlassian.pageobjects.page.LoginPage
      • loginAsSysAdmin

        public BambooDashboardPage loginAsSysAdmin()
        Login as sysadmin expecting dashboard as the next page - the default scenario.
        Returns:
        dashboard page
      • login

        public <M extends com.atlassian.pageobjects.Page> M login​(String username,
                                                                  String password,
                                                                  String captcha,
                                                                  boolean rememberMe,
                                                                  Class<M> nextPage)
      • login

        public <M extends com.atlassian.pageobjects.Page> M login​(String username,
                                                                  String password,
                                                                  boolean rememberMe,
                                                                  Class<M> nextPage)
      • showsCaptcha

        public com.atlassian.pageobjects.elements.query.TimedCondition showsCaptcha()
        Is the captcha Image tag visible?
      • captchaLoaded

        public com.atlassian.pageobjects.elements.query.TimedCondition captchaLoaded()
        Has the captcha image actually loaded (will not work in IE).
      • getCaptchaImageSource

        public String getCaptchaImageSource()