Package org.jenkinsci.test.acceptance.po
Class ContainerPageObject
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageObject
org.jenkinsci.test.acceptance.po.ConfigurablePageObject
org.jenkinsci.test.acceptance.po.ContainerPageObject
- All Implemented Interfaces:
CapybaraPortingLayer
- Direct Known Subclasses:
Build
,CoberturaAction
,GlobalSecurityConfig
,GlobalToolConfig
,JacocoResultPage
,ManagedCredentials
,ManagedCredentialsBinding
,MixIn
,Node
,Plugin
,PluginManager
,TopLevelItem
,UpdateCenter
,User
,View
,WhoAmI
PageObject
that represents a model that has multiple views underneath.- 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.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
ModifierConstructorDescriptionprotected
ContainerPageObject
(com.google.inject.Injector injector, URL url) protected
ContainerPageObject
(PageObject context, URL url) -
Method Summary
Modifier and TypeMethodDescription<T extends Action>
TCreate action of this page object.<T extends Action>
Tboolean
com.fasterxml.jackson.databind.JsonNode
getJson()
Makes the API call and obtains JSON representation.com.fasterxml.jackson.databind.JsonNode
Get a map with all links within the navigation area.int
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
-
Constructor Details
-
ContainerPageObject
-
ContainerPageObject
-
-
Method Details
-
getConfigUrl
- Specified by:
getConfigUrl
in classConfigurablePageObject
-
getJsonApiUrl
-
getJson
public com.fasterxml.jackson.databind.JsonNode getJson()Makes the API call and obtains JSON representation. -
getJson
- Parameters:
queryString
- Additional query string to narrow down the data retrieval, like "tree=..." or "depth=..."
-
action
Create action of this page object. SeeAction
,ActionPageObject
- Parameters:
type
- Action type to create.
-
action
-
equals
-
hashCode
public int hashCode()
-