Class GerritTriggerJob
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageObject
org.jenkinsci.test.acceptance.plugins.gerrit_trigger.GerritTriggerJob
- All Implemented Interfaces:
CapybaraPortingLayer
Page Object for Gerrit Trigger test-job (configuration) page.
- Author:
- Marco.Miller@ericsson.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumrepresents the options of events to trigger on for Gerrit-Trigger pluginNested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Controlfinal Controlfinal Controlfinal Controlfinal Controlfinal Controlfinal Controlfinal Jenkinsfinal Controlfinal Controlfinal Controlfinal Controlfinal ControlFields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, urlFields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, timeFields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsaveTestJobConfig(GerritTriggerJob.EventToTriggerOn eventToTriggerOn, String serverName, String projectName) Saves harness' gerrit-trigger test-job configuration.Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, ensureOpen, getContext, getJenkins, open, toString, url, url, visitMethods 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, runThenHandleInputDialog, runThenHandleUserPrompt, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Field Details
-
jenkins
-
event
-
server
-
advanced
-
passVerif
-
failVerif
-
passRev
-
failRev
-
project
-
branch
-
triggerOnAdd
-
commentAddedTriggerVerdictCategory
-
commentAddedTriggerApprovalValue
-
-
Constructor Details
-
GerritTriggerJob
-
-
Method Details
-
saveTestJobConfig
public void saveTestJobConfig(GerritTriggerJob.EventToTriggerOn eventToTriggerOn, String serverName, String projectName) Saves harness' gerrit-trigger test-job configuration.- Parameters:
eventToTriggerOn- event to trigger on
-