com.atlassian.jira.pageobjects.pages
Class AbstractJiraPage
java.lang.Object
com.atlassian.jira.pageobjects.pages.AbstractJiraPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
- Direct Known Subclasses:
- AbstractActorSelectionPage, AbstractDeleteLinkPage, AbstractIssueNavigatorPage, AbstractJiraAdminPage, AbstractJiraTabPage, AbstractProjectConfigPageTab, AddCustomFieldPage, AddIssueTypePage, AddSubtaskTypePage, AddUserPage, AdminSetupPage, AdvancedPropertiesPage, AnalyticsSetupPage, AnnouncementBannerPage, ApplicationSetupPage, AssociateCustomFieldToScreenPage, BulkEdit, BulkEditGroupMembersPage, ChangeFieldSchemePage, ChangeIssueTypeSchemePage, ChooseOperation, ConfigureFieldConfigurationSchemePage, ConfigureIssueTypeScreenSchemePage, ConfigurePortalPages, ConfigureScreen, ConfigureScreenScheme, ConvertIssuePage, CreateIssueDetailsPage, CreateIssuePage, DashboardPage, DatabaseSetupPage, DeleteProjectPage, DeleteUserPage, EditDefaultFieldConfigPage, EditDetails, EditFieldConfigPage, EditGeneralConfigurationPage, EditIssueSecurityScheme, EditIssueTypeSchemePage, EditNotificationsPage, EditPermissionScheme, EditUserDetailsPage, EditUserGroupsPage, EditUserPasswordPage, EditWorkflowScheme, FieldsPanel, GenericPageWithWarningMessage, GroupBrowserPage, IndexAdminPage, IndexProgressPage, IndexProjectPage, IssueSecurityPage, IssueTypesPage, JiraLoginPage, JiraWebSudoPage, LicenseSetupPage, LogoutPage, MailSetupPage, ManageFiltersPage, ManageIssueTypeSchemePage, ManageSubtasksPage, MoveIssueConfirmation, MoveIssuePage, MoveIssueUpdateFields, MoveIssueUpdateStatus, MoveSubtaskChooseOperation, MoveSubtaskParentPage, NotificationsPage, PluginsOverviewPage, ProjectConfigErrorPage, QuickLoginPage, RestoreCompleted, RestoreInProgressPage, RolesPage, SelectCvsModules, SelectIssueSecurityScheme, SelectIssueTypeScreenScheme, SelectPermissionScheme, SelectWorkflowScheme, SharedDashboardsPage, SharedFiltersPage, StartDraftWorkflowSchemeMigrationPage, TransitionOperationConfirmation, TransitionOperationDetails, TransitionsDetails, UalConfigurePage, UserAvatarDialog, ViewCustomFields, ViewDefaultProjectRoleActorsPage, ViewFieldConfigurationSchemesPage, ViewFieldConfigurationsPage, ViewFieldScreenSchemesPage, ViewFieldScreensPage, ViewGeneralConfigurationPage, ViewIssuePage, ViewIssueTypeScreenSchemesPage, ViewIssueTypesPage, ViewLicensePage, ViewProfilePage, ViewProjectsPage, ViewUserPage, ViewWorkflowSteps, WorkflowDesignerPage
public abstract class AbstractJiraPage
- extends Object
- implements com.atlassian.pageobjects.Page
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.
- Since:
- 4.4
Field Summary |
protected com.atlassian.pageobjects.elements.PageElement |
body
|
protected com.atlassian.webdriver.AtlassianWebDriver |
driver
|
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder
|
protected com.atlassian.pageobjects.elements.PageElement |
footerElement
|
protected com.atlassian.pageobjects.elements.PageElement |
metaElement
|
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
protected com.atlassian.pageobjects.elements.timeout.TimeoutsModule |
timeoutsModule
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.pageobjects.Page |
getUrl |
timeoutsModule
@Inject
protected com.atlassian.pageobjects.elements.timeout.TimeoutsModule timeoutsModule
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
elementFinder
@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
driver
@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver
body
protected com.atlassian.pageobjects.elements.PageElement body
footerElement
protected com.atlassian.pageobjects.elements.PageElement footerElement
metaElement
protected com.atlassian.pageobjects.elements.PageElement metaElement
AbstractJiraPage
public AbstractJiraPage()
getHeader
public JiraHeader getHeader()
doWait
public void doWait()
The default doWait for JIRA is defined in terms of isAt()
.
execKeyboardShortcut
public void execKeyboardShortcut(CharSequence... keys)
getPageTitle
public String getPageTitle()
getXsrfToken
public String getXsrfToken()
createXsrfUrl
public String createXsrfUrl(String origUrl)
isAt
public abstract com.atlassian.pageobjects.elements.query.TimedCondition isAt()
- Timed condition checking if we're at given page.
- Returns:
- timed condition checking, if the test is at given page
isLoggedIn
public boolean isLoggedIn()
isAdmin
public boolean isAdmin()
back
public <P> P back(Class<P> binder,
Object... arguments)
Copyright © 2002-2013 Atlassian. All Rights Reserved.