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, testedProduct
Constructor and Description |
---|
PlanSummaryPage(PlanKey planKey) |
PlanSummaryPage(String planKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStartCustomisedPlan() |
boolean |
canStartPlan() |
PlanSummaryPage |
enablePlan() |
PlanSummaryPage |
enablePlan(boolean checkDisabled) |
String |
getErrorMessage() |
String |
getProjectName() |
List<PlanSummaryPage.ResultSummary> |
getRecentHistory() |
String |
getUrl() |
QuarantinedTestsPage |
goToQuarantinedTestsPage() |
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
RunCustomisedDialog |
startCustomisedPlan() |
PlanSummaryPage |
startPlan() |
ResultSummaryPage |
startPlanAndGoToResultSummaryPage() |
PlanSummaryPage |
waitForBuildsToFinish() |
PlanSummaryPage |
waitForSuccessfulBuild(int successfulBuildNumber) |
doWait, ensureIndicatorPresent, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
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 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 List<PlanSummaryPage.ResultSummary> getRecentHistory()
public String getProjectName()
@NotNull public QuarantinedTestsPage goToQuarantinedTestsPage()
public String getErrorMessage()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.