Package com.xwiki.pro.test.po.generic
Class RecentlyUpdatedMacro
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- com.xwiki.pro.test.po.generic.RecentlyUpdatedMacro
-
public class RecentlyUpdatedMacro extends org.xwiki.test.ui.po.BaseElementRepresents a Recently Updated macro and provides access to its attributes.- Since:
- 1.28
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description RecentlyUpdatedMacro(org.openqa.selenium.WebElement macro)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickShowMore()StringgetAuthorName(int resultIndex)List<String>getItemTitles()StringgetMacroWidth()StringgetResultsTheme()booleanhasAvatars()booleanhasHeading()booleanhasShowMoreButton()booleanthemeStructureIsCorrect(String expectedTheme)
-
-
-
Method Detail
-
hasShowMoreButton
public boolean hasShowMoreButton()
-
clickShowMore
public void clickShowMore()
-
hasHeading
public boolean hasHeading()
-
hasAvatars
public boolean hasAvatars()
-
getAuthorName
public String getAuthorName(int resultIndex)
-
getResultsTheme
public String getResultsTheme()
-
themeStructureIsCorrect
public boolean themeStructureIsCorrect(String expectedTheme)
-
getMacroWidth
public String getMacroWidth()
-
-