Package org.jenkinsci.test.acceptance.po
Class Login
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageObject
-
- org.jenkinsci.test.acceptance.po.Login
-
- All Implemented Interfaces:
CapybaraPortingLayer
public class Login extends PageObject
Page object for login page.- Author:
- Michael Prankl
-
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Login
doFailedLogin(String user)
Login
doFailedLogin(String user, String password)
Login
doFailedLogin(User user)
Login
doLogin(String user)
Login for a common case where the user name and the password are the sameLogin
doLogin(String user, String password)
Login assuming "path" form element availability.
Paths are usually available when using the default Jenkins controller.
(Available thanks to pre-installed form-element-path plugin.)Login
doLogin(User user)
Login
doLoginDespiteNoPaths(String user, String password)
Deprecated.usedoLogin(String, String)
instead.Login
doSuccessfulLogin(String user)
Login
doSuccessfulLogin(String user, String password)
Login
doSuccessfulLogin(User user)
-
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, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
-
-
-
Constructor Detail
-
Login
public Login(Jenkins jenkins)
-
-
Method Detail
-
doLogin
public Login doLogin(String user, String password)
Login assuming "path" form element availability.
Paths are usually available when using the default Jenkins controller.
(Available thanks to pre-installed form-element-path plugin.)
-
doLoginDespiteNoPaths
@Deprecated public Login doLoginDespiteNoPaths(String user, String password)
Deprecated.usedoLogin(String, String)
instead. It doesn't require form-element-path.
-
doLogin
public Login doLogin(String user)
Login for a common case where the user name and the password are the same
-
-