Class GerritTriggerJob

  • All Implemented Interfaces:
    CapybaraPortingLayer

    public class GerritTriggerJob
    extends PageObject
    Page Object for Gerrit Trigger test-job (configuration) page.
    Author:
    Marco.Miller@ericsson.com
    • 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
    • Constructor Detail

      • GerritTriggerJob

        public GerritTriggerJob​(Jenkins jenkins,
                                String jobName)
    • 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