Class BuildExecutorStatus
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageAreaImpl
-
- org.jenkinsci.test.acceptance.plugins.dashboard_view.read.BuildExecutorStatus
-
- All Implemented Interfaces:
CapybaraPortingLayer
,Control.Owner
,PageArea
public class BuildExecutorStatus extends PageAreaImpl
Provides a simple area for reading the executors pane on the dashboard.- Author:
- Peter Müller
-
-
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
Constructors Constructor Description BuildExecutorStatus(PageObject context, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getExecutors()
Get all the executors displayed in the table.List<String>
getHeaders()
Get the Headers (names of all nodes) in the table.org.openqa.selenium.WebElement
getTable()
Get the main table containing the nodes and executors.-
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
-
-
-
-
Constructor Detail
-
BuildExecutorStatus
public BuildExecutorStatus(PageObject context, String path)
-
-
Method Detail
-
getTable
public org.openqa.selenium.WebElement getTable()
Get the main table containing the nodes and executors.- Returns:
- the WebElement for the table.
-
getHeaders
public List<String> getHeaders()
Get the Headers (names of all nodes) in the table.If only one node header would be shown, it is not. And therefore also not in this list.
- Returns:
- the names of all displayed nodes/agents.
-
-