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.BaseElement
The model of the single page displayer of the open project macro.
- Since:
- 1.0-rc-4
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElementorg.openqa.selenium.WebElementorg.openqa.selenium.WebElementorg.openqa.selenium.WebElementgetProperty(String name) Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
Constructor Details
-
OpenProjectSingleDisplayer
public OpenProjectSingleDisplayer(org.openqa.selenium.WebElement parent) - Parameters:
parent- the wrapper of the open project macro.
-
-
Method Details
-
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
- Parameters:
name- the work package property pretty name.- Returns:
- the element containing the said property value.
-
waitUntilReady
- Returns:
- waits for the single displayer to render completely, since it renders asynchronously.
-