Class OpenProjectSingleDisplayer
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- com.xwiki.projectmanagement.test.openproject.OpenProjectSingleDisplayer
-
public class OpenProjectSingleDisplayer extends org.xwiki.test.ui.po.BaseElementThe model of the single page displayer of the open project macro.- Since:
- 1.0-rc-4
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description OpenProjectSingleDisplayer(org.openqa.selenium.WebElement parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElementgetDescription()org.openqa.selenium.WebElementgetHeader()org.openqa.selenium.WebElementgetProject()org.openqa.selenium.WebElementgetProperty(String name)OpenProjectSingleDisplayerwaitUntilReady()
-
-
-
Method Detail
-
getProject
public org.openqa.selenium.WebElement getProject()
- Returns:
- the element that contains the project name and link.
-
getDescription
public org.openqa.selenium.WebElement getDescription()
- Returns:
- the element that contains the work item description.
-
getHeader
public org.openqa.selenium.WebElement getHeader()
- Returns:
- the header container that contains information such as the work package id, name and link.
-
getProperty
public org.openqa.selenium.WebElement getProperty(String name)
- Parameters:
name- the work package property pretty name.- Returns:
- the element containing the said property value.
-
waitUntilReady
public OpenProjectSingleDisplayer waitUntilReady()
- Returns:
- waits for the single displayer to render completely, since it renders asynchronously.
-
-