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

public class DashboardPortlets extends PageAreaImpl
Provides the Area for configuring the basic settings for default portlets in the dashboard view.
Author:
Peter Müller
  • Constructor Details

    • DashboardPortlets

      public DashboardPortlets(PageObject context, String path)
  • Method Details

    • checkIncludeStdJobList

      public void checkIncludeStdJobList(boolean state)
      Enable the Std Job list in this View.
      Parameters:
      state - state, true if included
    • checkHideJenkinsPanels

      public void checkHideJenkinsPanels(boolean state)
      Hide the normal Jenkins panels.
      Parameters:
      state - state, true if hidden
    • setLeftPortletWidthPercent

      public void setLeftPortletWidthPercent(int percent)
      Set the width of the left portlet in percent.
      Parameters:
      percent - percent %, the desired width of the left portlet
    • setRightPortletWidthPercent

      public void setRightPortletWidthPercent(int percent)
      Set the width of the right portlet in percent.
      Parameters:
      percent - percent %, the desired width of the right portlet.
    • setLeftPortletWidthPixel

      public void setLeftPortletWidthPixel(int pixel)
      Set the width of the left portlet in pixels.
      Parameters:
      pixel - pixel px, the width in pixel unit
    • setRightPortletWidthPixel

      public void setRightPortletWidthPixel(int pixel)
      Set the width of the right portlet in pixels.
      Parameters:
      pixel - pixel px, the width in pixel unit