Class PlanSummaryPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.plan.PlanSummaryPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class PlanSummaryPage extends AbstractBambooPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlanSummaryPage.ResultSummary
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct
-
-
Constructor Summary
Constructors Constructor Description PlanSummaryPage(PlanKey planKey)
PlanSummaryPage(com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties)
PlanSummaryPage(String planKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canStartCustomisedPlan()
boolean
canStartPlan()
PlanSummaryPage
changePlanBranch(String planBranch, String planBranchKey)
PlanSummaryPage
enablePlan()
PlanSummaryPage
enablePlan(boolean checkDisabled)
int
getCurrentActivitySize()
String
getErrorMessage()
String
getProjectName()
List<PlanSummaryPage.ResultSummary>
getRecentHistory()
int
getRecentHistorySize()
String
getUrl()
@NotNull 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()
void
waitForAvailableBranches()
PlanSummaryPage
waitForBuildsToFinish()
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
getUrl
public String getUrl()
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
waitForAvailableBranches
public void waitForAvailableBranches()
-
changePlanBranch
public PlanSummaryPage changePlanBranch(String planBranch, String planBranchKey)
-
enablePlan
public PlanSummaryPage enablePlan()
-
enablePlan
public PlanSummaryPage enablePlan(boolean checkDisabled)
-
isPlanEnabled
public boolean isPlanEnabled()
-
startPlan
public PlanSummaryPage startPlan()
-
canStartPlan
public boolean canStartPlan()
-
canStartCustomisedPlan
public boolean canStartCustomisedPlan()
-
startCustomisedPlan
public RunCustomisedDialog startCustomisedPlan()
-
startPlanAndGoToResultSummaryPage
public ResultSummaryPage startPlanAndGoToResultSummaryPage()
-
waitForBuildsToFinish
public PlanSummaryPage waitForBuildsToFinish()
-
getCurrentActivitySize
public int getCurrentActivitySize()
-
getRecentHistory
public List<PlanSummaryPage.ResultSummary> getRecentHistory()
-
getRecentHistorySize
public int getRecentHistorySize()
-
getProjectName
public String getProjectName()
-
goToQuarantinedTestsPage
@NotNull public @NotNull QuarantinedTestsPage goToQuarantinedTestsPage()
-
getErrorMessage
public String getErrorMessage()
-
hoverRssFeedIcon
public void hoverRssFeedIcon()
-
hoverRssFeedForAllBuilds
public void hoverRssFeedForAllBuilds()
-
hoverRssFeedForFailedBuilds
public void hoverRssFeedForFailedBuilds()
-
-