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
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 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
To generate and build up the whole stageview structure.Returns all buildsReturns first buildReturns the latest buildorg.openqa.selenium.WebElement
Returns the root eelementReturns all headlines which are specified in the pipelineMethods 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 Details
-
rootElementName
root Element
-
-
Constructor Details
-
StageView
-
-
Method Details
-
buildStructure
public void buildStructure()To generate and build up the whole stageview structure. -
getAllStageViewJobs
Returns all builds- Returns:
- All stageview Jobs
-
getFirstBuild
Returns first build- Returns:
- All stageview Jobs
-
getLatestBuild
Returns the latest build- Returns:
- stageview Job
-
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
-