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
public class GerritTriggerJob extends PageObject
Page Object for Gerrit Trigger test-job (configuration) page.- Author:
- Marco.Miller@ericsson.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GerritTriggerJob.EventToTriggerOn
represents the options of events to trigger on for Gerrit-Trigger plugin-
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
advanced
Control
branch
Control
commentAddedTriggerApprovalValue
Control
commentAddedTriggerVerdictCategory
Control
event
Control
failRev
Control
failVerif
Jenkins
jenkins
Control
passRev
Control
passVerif
Control
project
Control
server
Control
triggerOnAdd
-
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 GerritTriggerJob(Jenkins jenkins, String jobName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
jenkins
public final Jenkins jenkins
-
event
public final Control event
-
server
public final Control server
-
advanced
public final Control advanced
-
passVerif
public final Control passVerif
-
failVerif
public final Control failVerif
-
passRev
public final Control passRev
-
failRev
public final Control failRev
-
project
public final Control project
-
branch
public final Control branch
-
triggerOnAdd
public final Control triggerOnAdd
-
commentAddedTriggerVerdictCategory
public final Control commentAddedTriggerVerdictCategory
-
commentAddedTriggerApprovalValue
public final Control commentAddedTriggerApprovalValue
-
-
Method Detail
-
saveTestJobConfig
public void saveTestJobConfig(GerritTriggerJob.EventToTriggerOn eventToTriggerOn, String serverName, String projectName)
Saves harness' gerrit-trigger test-job configuration.- Parameters:
eventToTriggerOn
- event to trigger on
-
-