Class AbstractBambooPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
AbstractAuditLogPage,AbstractBambooAdminPage,AbstractBambooSetupPage,AbstractBranchNavigatorPage,AbstractDeploymentVersionPage,AbstractDockerPage,AbstractNotificationsPage,AccessDeniedPage,AddAgentCapabilitiesPage,ArtifactConfigurationPage,ArtifactStoragePage,AuthorsPage,BambooAdminHomePage,BambooDashboardPage,BambooLoginPage,BranchesConfigurationPage,ChangePasswordPage,CloneChainPlanLimitReachedPage,CloneDeploymentPage,ClonePlanPage,ConfigureBranchNotificationsPage,ConfigureDeploymentProjectDetailsPage,ConfigureDeploymentProjectPage,ConfigureDeploymentProjectVersioning,ConfigureEnvironmentDetailsPage,ConfigureEnvironmentMiscellaneousPage,ConfigureEnvironmentTriggersPage,ConfigureEnvironmentVariablesPage,ConfigurePlanTriggersPage,ConfigureReleaseVersioningPage,ConfirmDeleteDeploymentProjectPage,ConfirmDeploymentProjectDetailsPage,CreateChainPlanLimitReachedPage,CreateDeploymentProjectPage,CreateEnvironmentPage,CreatePlanPage,CreatePlanRepositoryPage,CreatePlanTasksPage,CreateProjectPage,CreateProjectRepositoryPage,CreateVersionPage,CurrentBuildQueuePage,DeletePlanPage,DeleteProjectRepositoryPage,DeploymentLogsPage,DeploymentProjectRepositoryAssignmentPage,DeploymentResultPage,EditGroupPage,EditPlanDetailsPage,EditProjectDetailsPage,EditUserProfilePage,EnvironmentSummaryPage,EnvironmentViewAgentsPage,EphemeralAgentTemplateAssignmentPage,ExecuteDeploymentPage,FourOhOhPage,JobDetailsPage,JobResultSummaryPage,JobResultViewLogs,ManualEncryptionPage,MiscellaneousConfigurationPage,MovePlansConfigureDetailsPage,OAuth2LoginPage,PersonalAccessTokenCreationPage,PersonalAccessTokensPage,PersonalAccessTokenViewPage,PlanBranchOverview,PlanHistoryPage,PlanRepositoryConfigurationPage,PlanResultLogActivityPage,PlanResultTestsPage,PlanResultWebhooksPage,PlanSummaryPage,PlanViewAgentsPage,ProjectRepositoriesPage,ProjectRepositoryAssignmentPage,ProjectSummaryPage,QuarantinedTestsPage,RenameVersionPage,RequirementsAwarePage,ResultJobArtifactsPage,ResultSummaryCommitsPage,ResultSummaryMetadataPage,ResultSummaryPage,SignupPage,SpecsWizardCreationPage,TaskConfigurationPage,TrustedKeysPage.AddTrustedKeyDialogPage,TrustedKeysPage.DeleteTrustedKeyConfirmationDialog,UserProfilePage,UserSummaryPage,UserViewAgentPage,VariableConfigurationPage,ViewAdminAgentsPage,ViewAgentCapabilitiesPage,ViewAllDeploymentProjectsPage,ViewAuthorPage,ViewDeploymentProjectPage,ViewEphemeralAgentPodPage,ViewProjectRepositoriesTypesPage,ViewProjectsPage,ViewRepositoryPage,ViewVersionPage,WebSudoPage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.openqa.selenium.WebDriverprotected com.atlassian.pageobjects.elements.PageElementFinderprotected com.atlassian.pageobjects.PageBinderprotected com.atlassian.webdriver.utils.element.WebDriverPollerprotected BambooWebDriverTestedProductprotected com.atlassian.pageobjects.elements.timeout.Timeouts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclick(com.atlassian.pageobjects.elements.PageElement pageElement) voiddoWait()This usesisPageLoaded()by default.voidChecks for presence ofindicator()by default.com.atlassian.pageobjects.elements.timeout.Timeoutsabstract com.atlassian.pageobjects.elements.PageElementThis must return an element whose presence indicates that we're on given page.booleanisAdmin()booleanprotected com.atlassian.pageobjects.elements.query.TimedConditionThis indicates that the page has loaded and the presence of indicator may be verified.protected voidprotected voidwaitUntilElementIsLocated(org.openqa.selenium.By by) voidwaitUntilElementIsNotLocated(org.openqa.selenium.By by) protected voidwaitUntilElementIsNotVisible(org.openqa.selenium.By by) voidwaitUntilElementIsVisible(org.openqa.selenium.By by) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.pageobjects.Page
getUrl
-
Field Details
-
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 -
testedProduct
-
poller
@Inject protected com.atlassian.webdriver.utils.element.WebDriverPoller poller -
timeouts
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
-
-
Constructor Details
-
AbstractBambooPage
public AbstractBambooPage()
-
-
Method Details
-
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() -
getHeader
-
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()
-