Class 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 Detail

      • OpenProjectSingleDisplayer

        public OpenProjectSingleDisplayer​(org.openqa.selenium.WebElement parent)
        Parameters:
        parent - the wrapper of the open project macro.
    • 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.