Package org.jenkinsci.test.acceptance.po
Class DumbSlave
- All Implemented Interfaces:
CapybaraPortingLayer
Built-in standard slave type.
To create a new slave into a test, use SlaveController
.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
Field Summary
Modifier and TypeFieldDescriptionfinal Control
final Control
final Control
final Control
final Control
Fields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, url
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
asLocal()
Set up this slave as a local slave that launches slave on the same host as Jenkins call this in the context of the config UI.<T extends ComputerLauncher>
TsetLauncher
(Class<T> type) Selects the specified launcher, and return the page object to bind to it.Methods inherited from class org.jenkinsci.test.acceptance.po.Slave
delete, disconnect, getExecutorCount, getLog, getName, isOffline, isOnline, launch, launchSlaveAgent, markOffline, markOffline, markOnline, runBuildsInOrder, waitUntilOnline
Methods inherited from class org.jenkinsci.test.acceptance.po.Node
getBuildHistory, isTemporarillyOffline, runScript, runScript, setExecutors, setLabels, setRemoteFs
Methods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, equals, getConfigUrl, getJson, getJson, getJsonApiUrl, getNavigationLinks, hashCode
Methods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage, getFormName, getSubmitButtonText, save
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, open, toString, url, url, visit
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
-
Field Details
-
description
-
executors
-
remoteFS
-
labels
-
launchMethod
-
-
Constructor Details
-
DumbSlave
-
-
Method Details
-
setLauncher
Selects the specified launcher, and return the page object to bind to it. -
asLocal
public void asLocal()Set up this slave as a local slave that launches slave on the same host as Jenkins call this in the context of the config UI.
-