Package org.jenkinsci.test.acceptance.po
Class View
- All Implemented Interfaces:
CapybaraPortingLayer
- Direct Known Subclasses:
DashboardView,ListView,NestedView
Page object for view, which is a collection of jobs rendered in the UI.
Use Describable annotation to register an implementation.
- 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
FieldsFields 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 TypeMethodDescriptionvoidClicks a build button for a job of the specified name.voidcontainsColumnHeader(String headerName) containsColumnHeaderTooltip(String tooltip) containsImage(String imageName) containsJob(Job needle) containsSvgWithText(String text) voiddelete()Deletes the view.hasDescription(String description) voidConfigures the view to include all jobs.voidvoidsetDescription(String description) Sets the description of the currentView.Methods 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
-
Field Details
-
includeRegex
-
description
-
jobs
-
-
Constructor Details
-
View
-
-
Method Details
-
build
Clicks a build button for a job of the specified name. -
matchAllJobs
public void matchAllJobs()Configures the view to include all jobs. -
matchJobs
-
delete
public void delete()Deletes the view. -
getBuildHistory
-
containsJob
-
checkRecurseIntoFolders
public void checkRecurseIntoFolders() -
setDescription
Sets the description of the currentView.- Parameters:
description- The description of the view.
-
getFormName
- Overrides:
getFormNamein classConfigurablePageObject
-
hasDescription
-
containsColumnHeaderTooltip
-
containsColumnHeader
-
containsImage
-
containsSvgWithText
-
containsLinkWithTooltip
-