Package org.jenkinsci.test.acceptance.po
Class ListView
- All Implemented Interfaces:
CapybaraPortingLayer
- 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
Fields inherited from class org.jenkinsci.test.acceptance.po.View
description, includeRegex, jobsFields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, urlFields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, timeFields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ListViewColumn>
TAdds a column on the dashboard.voidExplicitly add a job to the view.static <T extends ListViewColumn>
TcreateWithColumn(Container owner, Class<T> columnClass) Creates a new list view with the specified column.<T extends ListViewColumn>
TvoidscheduleJob(String name) voidscheduleJob(String name, Map<String, Object> params) Methods inherited from class org.jenkinsci.test.acceptance.po.View
build, checkRecurseIntoFolders, containsColumnHeader, containsColumnHeaderTooltip, containsImage, containsJob, containsLinkWithTooltip, containsSvgWithText, delete, getBuildHistory, getFormName, hasDescription, matchAllJobs, matchJobs, setDescriptionMethods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, equals, getConfigUrl, getJson, getJson, getJsonApiUrl, getNavigationLinks, hashCodeMethods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage, saveMethods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, ensureOpen, getContext, getJenkins, open, toString, url, url, visitMethods 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, runThenHandleInputDialog, runThenHandleUserPrompt, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Constructor Details
-
ListView
-
-
Method Details
-
createWithColumn
Creates a new list view with the specified column.- Type Parameters:
T- the type of the column- Parameters:
owner- owner of the list view (jenkins, folder, etc.)columnClass- the class of the column to add- Returns:
- the created column
-
addColumn
Adds a column on the dashboard.- Type Parameters:
T- The type of the new dashboard column.- Parameters:
type- The class object of the type of the new dashboard column.- Returns:
- The new dashboard column.
-
getColumn
- Returns:
- the column to the corresponding type
-
addJob
Explicitly add a job to the view. -
scheduleJob
-
scheduleJob
-