Class DashboardPortlets
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
Provides the Area for configuring the basic settings for default portlets in the dashboard view.
- Author:
- Peter Müller
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
Field Summary
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
checkHideJenkinsPanels
(boolean state) Hide the normal Jenkins panels.void
checkIncludeStdJobList
(boolean state) Enable the Std Job list in this View.void
setLeftPortletWidthPercent
(int percent) Set the width of the left portlet in percent.void
setLeftPortletWidthPixel
(int pixel) Set the width of the left portlet in pixels.void
setRightPortletWidthPercent
(int percent) Set the width of the right portlet in percent.void
setRightPortletWidthPixel
(int pixel) Set the width of the right portlet in pixels.Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, getPage, getPath, getPath, getPath, path, self
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, executeScript, fillIn, find, findIfNotVisible, getElement, getPageSource, last, lastIfNotVisible, runThenConfirmAlert, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Constructor Details
-
DashboardPortlets
-
-
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
-