public class PlanSummaryPage extends AbstractBambooPage
Modifier and Type | Class and Description |
---|---|
static class |
PlanSummaryPage.ResultSummary |
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
driver, pageBinder, poller, testedProduct
Constructor and Description |
---|
PlanSummaryPage(PlanKey planKey) |
PlanSummaryPage(com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties) |
PlanSummaryPage(String planKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStartCustomisedPlan() |
boolean |
canStartPlan() |
PlanSummaryPage |
enablePlan() |
PlanSummaryPage |
enablePlan(boolean checkDisabled) |
int |
getCurrentActivitySize() |
String |
getErrorMessage() |
String |
getProjectName() |
List<PlanSummaryPage.ResultSummary> |
getRecentHistory() |
int |
getRecentHistorySize() |
String |
getUrl() |
QuarantinedTestsPage |
goToQuarantinedTestsPage() |
void |
hoverRssFeedForAllBuilds() |
void |
hoverRssFeedForFailedBuilds() |
void |
hoverRssFeedIcon() |
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
boolean |
isPlanEnabled() |
RunCustomisedDialog |
startCustomisedPlan() |
PlanSummaryPage |
startPlan() |
ResultSummaryPage |
startPlanAndGoToResultSummaryPage() |
PlanSummaryPage |
waitForBuildsToFinish() |
PlanSummaryPage |
waitForSuccessfulBuild(int successfulBuildNumber) |
doWait, ensureIndicatorPresent, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded, sendEnterKey, sendEscapeKey
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
public PlanSummaryPage(com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties)
public PlanSummaryPage(PlanKey planKey)
public PlanSummaryPage(String planKey)
public String getUrl()
public com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPage
indicator
in class AbstractBambooPage
public PlanSummaryPage enablePlan()
public PlanSummaryPage enablePlan(boolean checkDisabled)
public boolean isPlanEnabled()
public PlanSummaryPage startPlan()
public boolean canStartPlan()
public boolean canStartCustomisedPlan()
public RunCustomisedDialog startCustomisedPlan()
public ResultSummaryPage startPlanAndGoToResultSummaryPage()
public PlanSummaryPage waitForBuildsToFinish()
public PlanSummaryPage waitForSuccessfulBuild(int successfulBuildNumber)
successfulBuildNumber
- number of consecutive successful build! not absolute number of build!public int getCurrentActivitySize()
public List<PlanSummaryPage.ResultSummary> getRecentHistory()
public int getRecentHistorySize()
public String getProjectName()
@NotNull public QuarantinedTestsPage goToQuarantinedTestsPage()
public String getErrorMessage()
public void hoverRssFeedIcon()
public void hoverRssFeedForAllBuilds()
public void hoverRssFeedForFailedBuilds()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.