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
public class CredentialsPage extends ConfigurablePageObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
-
Field Summary
Fields Modifier and Type Field Description Control
addButton
-
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
Constructors Constructor Description CredentialsPage(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Credential>
Tadd(Class<T> type)
void
create()
void
delete()
URL
getConfigUrl()
String
getFormName()
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 Detail
-
addButton
public final Control addButton
-
-
Method Detail
-
add
public <T extends Credential> T add(Class<T> type)
-
getConfigUrl
public URL getConfigUrl()
- Specified by:
getConfigUrl
in classConfigurablePageObject
-
setConfigUrl
public void setConfigUrl(String url) throws MalformedURLException
- 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
public String getFormName()
- Overrides:
getFormName
in classConfigurablePageObject
-
-