public class

JiraOdLoginPage

extends JiraLoginPage
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.pages.AbstractJiraPage
     ↳ com.atlassian.jira.pageobjects.pages.JiraLoginPage
       ↳ com.atlassian.jira.pageobjects.pages.ondemand.JiraOdLoginPage

Class Overview

Page object implementation for the LoginPage in JIRA.

Summary

Constants
String PASSWORD_SYSADMIN
String USER_SYSADMIN
[Expand]
Inherited Constants
From class com.atlassian.jira.pageobjects.pages.JiraLoginPage
Fields
protected PageElement loginButton
protected PageElement loginForm
protected Iterable<PageElement> messages
protected PageElement passwordField
protected PageElement redirect
protected PageElement rememberMeTickBox
protected PageElement signUpHint
protected PageElement usernameField
[Expand]
Inherited Fields
From class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
Public Constructors
JiraOdLoginPage()
Public Methods
boolean checkIfPrivateSignUpIsVisible()
PageElement getLoginForm()
The login form
Iterable<PageElement> getMessages()
The aui messages in the login form
String getRedirectUrl()
PageElement getSignUpHint()
The element containing the signup hint
String getUrl()
DashboardPage loginAndGoToHome(String username, String password)
<M extends Page> M loginAsAdmin(Class<M> nextPage, Object... args)
<M extends Page> M loginAsSysAdmin(Class<M> nextPage, Object... args)
DashboardPage loginAsSysadminAndGoToHome()
<M extends Page> M loginAsSystemAdminAndFollowRedirect(Class<M> redirectPage, Object... args)
Protected Methods
PageElement getLoginButton()
The button to submit the login form.
PageElement getPasswordField()
The text field the password is put on login.
PageElement getRedirect()
The element holding the redirect information.
PageElement getRememberMeTickBox()
The tick box for remember me cookie.
PageElement getUsernameField()
The text field the username is put on login.
[Expand]
Inherited Methods
From class com.atlassian.jira.pageobjects.pages.JiraLoginPage
From class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
From class java.lang.Object
From interface com.atlassian.pageobjects.Page
From interface com.atlassian.pageobjects.page.LoginPage

Constants

public static final String PASSWORD_SYSADMIN

Constant Value: "sysadmin"

public static final String USER_SYSADMIN

Constant Value: "sysadmin"

Fields

protected PageElement loginButton

protected PageElement loginForm

protected Iterable<PageElement> messages

protected PageElement passwordField

protected PageElement redirect

protected PageElement rememberMeTickBox

protected PageElement signUpHint

protected PageElement usernameField

Public Constructors

public JiraOdLoginPage ()

Public Methods

public boolean checkIfPrivateSignUpIsVisible ()

public PageElement getLoginForm ()

The login form

public Iterable<PageElement> getMessages ()

The aui messages in the login form

public String getRedirectUrl ()

public PageElement getSignUpHint ()

The element containing the signup hint

public String getUrl ()

public DashboardPage loginAndGoToHome (String username, String password)

public M loginAsAdmin (Class<M> nextPage, Object... args)

public M loginAsSysAdmin (Class<M> nextPage, Object... args)

public DashboardPage loginAsSysadminAndGoToHome ()

public M loginAsSystemAdminAndFollowRedirect (Class<M> redirectPage, Object... args)

Protected Methods

protected PageElement getLoginButton ()

The button to submit the login form.

protected PageElement getPasswordField ()

The text field the password is put on login.

protected PageElement getRedirect ()

The element holding the redirect information.

protected PageElement getRememberMeTickBox ()

The tick box for remember me cookie.

protected PageElement getUsernameField ()

The text field the username is put on login.