public abstract class

AbstractJiraPage

extends Object
implements Page
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.pages.AbstractJiraPage
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Provides a set of common functions that all JIRA pages can do, such as getting the admin menu. Sets the base url for the WebDrivePage class to use which is defined in the jira-base-url system property.

Summary

Fields
protected PageElement body
protected AtlassianWebDriver driver
protected PageElementFinder elementFinder
protected PageElement footerElement
protected PageElement metaElement
protected PageBinder pageBinder
Public Constructors
AbstractJiraPage()
Public Methods
<P> P back(Class<P> binder, Object... arguments)
String createXsrfUrl(String origUrl)
void doWait()

The default doWait for JIRA is defined in terms of isAt().

void execKeyboardShortcut(CharSequence... keys)
JiraHeader getHeader()
String getPageTitle()
String getXsrfToken()
boolean isAdmin()
abstract TimedCondition isAt()
Timed condition checking if we're at given page.
boolean isLoggedIn()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.pageobjects.Page

Fields

protected PageElement body

protected AtlassianWebDriver driver

protected PageElementFinder elementFinder

protected PageElement footerElement

protected PageElement metaElement

protected PageBinder pageBinder

Public Constructors

public AbstractJiraPage ()

Public Methods

public P back (Class<P> binder, Object... arguments)

public String createXsrfUrl (String origUrl)

public void doWait ()

The default doWait for JIRA is defined in terms of isAt().

public void execKeyboardShortcut (CharSequence... keys)

public JiraHeader getHeader ()

public String getPageTitle ()

public String getXsrfToken ()

public boolean isAdmin ()

public abstract TimedCondition isAt ()

Timed condition checking if we're at given page.

Returns
  • timed condition checking, if the test is at given page

public boolean isLoggedIn ()