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

public class BuildExecutorStatus extends PageAreaImpl
Provides a simple area for reading the executors pane on the dashboard.
Author:
Peter Müller
  • Constructor Details

    • BuildExecutorStatus

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

    • getExecutorsDiv

      public org.openqa.selenium.WebElement getExecutorsDiv()
      Get the div containing the nodes and executors.
      Returns:
      the WebElement for the div.
    • getHeaders

      public List<org.openqa.selenium.WebElement> getHeaders()
      Get the Headers (names of all nodes) in the table.

      If only one node header would be shown, it is not. And therefore also not in this list.

      Returns:
      the names of all displayed nodes/agents.