Class CredentialsPage
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.plugins.credentials.CredentialsPage
- All Implemented Interfaces:
CapybaraPortingLayer
-
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
ConstructorDescriptionCredentialsPage
(Folder f, String domainName) Create a new Credential scoped to a FolderCredentialsPage
(Jenkins j, String domainName) Create a new CredentialCredentialsPage
(Jenkins j, String domainName, String userName) Create a new personal Credential -
Method Summary
Modifier and TypeMethodDescription<T extends Credential>
Tvoid
create()
void
delete()
org.openqa.selenium.WebDriver
open()
Visits the top page of this object.void
setConfigUrl
(String url) Methods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage, getSubmitButtonText, save
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, 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
-
addButton
-
-
Constructor Details
-
CredentialsPage
Create a new Credential -
CredentialsPage
Create a new Credential scoped to a Folder -
CredentialsPage
Create a new personal Credential
-
-
Method Details
-
add
-
getConfigUrl
- Specified by:
getConfigUrl
in classConfigurablePageObject
-
setConfigUrl
- Throws:
MalformedURLException
-
create
public void create() -
delete
public void delete() -
open
public org.openqa.selenium.WebDriver open()Description copied from class:PageObject
Visits the top page of this object.- Overrides:
open
in classPageObject
-
getFormName
- Overrides:
getFormName
in classConfigurablePageObject
-