Class AbstractCredentialsTest
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.junit.AbstractJUnitTest
org.jenkinsci.test.acceptance.plugins.credentials.AbstractCredentialsTest
- 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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.jenkinsci.test.acceptance.junit.AbstractJUnitTest
driver, jenkins, rules, supportBundle
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
injector, LABEL_TO_INPUT_XPATH, time
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends BaseStandardCredentials>
TcreateCredentials
(Class<T> credClazz, CredentialsPage cp, String scope) protected <T extends BaseStandardCredentials>
TcreateCredentials
(Class<T> credClazz, CredentialsPage cp, String scope, String file) protected CredentialsPage
createCredentialsPage
(Boolean userCredentials) protected CredentialsPage
createCredentialsPage
(Boolean userCredentials, String domain) protected void
Methods inherited from class org.jenkinsci.test.acceptance.junit.AbstractJUnitTest
findAvailablePort, injectSpec, interrupt
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
-
CREATED_USER
-
CRED_ID
- See Also:
-
CRED_USER
-
CRED_PWD
- See Also:
-
CRED_DSCR
- See Also:
-
SECRET_TEXT
- See Also:
-
SECRET_FILE
- See Also:
-
SECRET_FILE_TEXT
- See Also:
-
SECRET_ZIP_FILE
- See Also:
-
SECRET_ZIP_FILE_TEXT
- See Also:
-
GLOBAL_SCOPE
- See Also:
-
SYSTEM_SCOPE
- See Also:
-
-
Constructor Details
-
AbstractCredentialsTest
public AbstractCredentialsTest()
-
-
Method Details
-
createMockUserAndLogin
protected void createMockUserAndLogin() -
createCredentialsPage
-
createCredentialsPage
-
createCredentials
protected <T extends BaseStandardCredentials> T createCredentials(Class<T> credClazz, CredentialsPage cp, String scope) -
createCredentials
protected <T extends BaseStandardCredentials> T createCredentials(Class<T> credClazz, CredentialsPage cp, String scope, String file)
-