Package com.xwiki.pro.test.po.generic
Class UserProfileMacro
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- com.xwiki.pro.test.po.generic.UserProfileMacro
-
public class UserProfileMacro extends org.xwiki.test.ui.po.BaseElementRepresents a UserProfile macro and provides access to its attributes.- Since:
- 1.28
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description UserProfileMacro(org.openqa.selenium.WebElement container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()List<String>getProperties()List<org.openqa.selenium.WebElement>getPropertiesList()booleanhasAvatarWithLink(String username)booleanhasProfileLink(String username)booleanisEmailLinkCorrect(int propertyIndex, String expectedEmail)
-
-
-
Method Detail
-
hasAvatarWithLink
public boolean hasAvatarWithLink(String username)
-
hasProfileLink
public boolean hasProfileLink(String username)
-
getPropertiesList
public List<org.openqa.selenium.WebElement> getPropertiesList()
-
isEmailLinkCorrect
public boolean isEmailLinkCorrect(int propertyIndex, String expectedEmail)
-
getComment
public String getComment()
-
-