java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageAreaImpl
org.jenkinsci.test.acceptance.plugins.dashboard_view.controls.JobFiltersArea
All Implemented Interfaces:
CapybaraPortingLayer, Control.Owner, PageArea

public class JobFiltersArea extends PageAreaImpl
Provides a small area of the Dashboard Configuration that can limit the Jenkins Jobs displayed in the Dashboard.
Author:
Peter Müller
  • Constructor Details

    • JobFiltersArea

      public JobFiltersArea(PageObject context, String path)
      Create a new Area for the configuration regarding the job filters.
  • Method Details

    • setStatusFilter

      public void setStatusFilter(JobFiltersArea.StatusFilter statusFilter)
      Select the filter type in the dropdown.
      Parameters:
      statusFilter - the filter type to use
    • setRecurseInSubfolders

      public void setRecurseInSubfolders(boolean state)
      Change the state of the checkbox for the option of recursion in subfolders.
      Parameters:
      state - true if enabled
    • setIncludeRegex

      public void setIncludeRegex(String regex)
      Set a regex to include jobs only if they match the expression
      Parameters:
      regex - regex the regex to filter the job names