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
Modifier and TypeClassDescriptionstatic enum
represents 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
Modifier and TypeFieldDescriptionfinal Control
final Control
final Control
final Control
final Control
final Control
final Control
final Jenkins
final Control
final Control
final Control
final Control
final Control
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
saveTestJobConfig
(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, 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, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, 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
-