Class StageView
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageAreaImpl
-
- org.jenkinsci.test.acceptance.plugins.stageview.StageView
-
- All Implemented Interfaces:
CapybaraPortingLayer
,Control.Owner
,PageArea
public class StageView extends PageAreaImpl
Basic container for the stageview implementation. The stageview is the graphical representation of the pipeline builds. In the current abstraction the stagview contains headlines and jobs to build the matrix of the build history. The stageview is located on the jobs page right above the navigation links.- Author:
- Boris Dippolter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
-
Field Summary
Fields Modifier and Type Field Description String
rootElementName
root Element-
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
-
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
-
Constructor Summary
Constructors Constructor Description StageView(PageObject context, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildStructure()
To generate and build up the whole stageview structure.List<StageViewBuild>
getAllStageViewJobs()
Returns all buildsStageViewBuild
getFirstBuild()
Returns first buildStageViewBuild
getLatestBuild()
Returns the latest buildorg.openqa.selenium.WebElement
getRootElementName()
Returns the root eelementList<StageViewHeadline>
getStageViewHeadlines()
Returns all headlines which are specified in the pipeline-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, getPage, getPath, getPath, getPath, path, self
-
Methods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, executeScript, fillIn, find, findIfNotVisible, getElement, getPageSource, last, lastIfNotVisible, runThenConfirmAlert, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
-
-
-
Field Detail
-
rootElementName
public String rootElementName
root Element
-
-
Constructor Detail
-
StageView
public StageView(PageObject context, String path)
-
-
Method Detail
-
buildStructure
public void buildStructure()
To generate and build up the whole stageview structure.
-
getAllStageViewJobs
public List<StageViewBuild> getAllStageViewJobs()
Returns all builds- Returns:
- All stageview Jobs
-
getFirstBuild
public StageViewBuild getFirstBuild()
Returns first build- Returns:
- All stageview Jobs
-
getLatestBuild
public StageViewBuild getLatestBuild()
Returns the latest build- Returns:
- stageview Job
-
getStageViewHeadlines
public List<StageViewHeadline> getStageViewHeadlines()
Returns all headlines which are specified in the pipeline- Returns:
- list of all headlines
-
getRootElementName
public org.openqa.selenium.WebElement getRootElementName()
Returns the root eelement- Returns:
- the root element
-
-