Package org.xwiki.mentions.test.po
Class MentionNotificationPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.platform.notifications.test.po.GroupedNotificationElementPage
-
- org.xwiki.mentions.test.po.MentionNotificationPage
-
public class MentionNotificationPage extends GroupedNotificationElementPage
Mentions notifications page object.- Since:
- 12.8RC1
- Version:
- $Id: 6201467efdf69f849ec137a1ed1b00cb350f31f0 $
-
-
Field Summary
-
Fields inherited from class org.xwiki.platform.notifications.test.po.GroupedNotificationElementPage
NOTIFICATION_EVENT_SELECTOR, TEXT_SELECTOR
-
-
Constructor Summary
Constructors Constructor Description MentionNotificationPage(org.openqa.selenium.WebElement rootElement)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSummary(int notificationNumber, int groupIndex)
Returns the nth notification summary.boolean
hasSummary(int notificationNumber, int groupIndex)
-
Methods inherited from class org.xwiki.platform.notifications.test.po.GroupedNotificationElementPage
findNotifications, getEmitter, getText, openGroup
-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Method Detail
-
hasSummary
public boolean hasSummary(int notificationNumber, int groupIndex)
- Parameters:
notificationNumber
- The notification group number.groupIndex
- The index of the notification in the group.- Returns:
- true if the request element has a summary.
-
getSummary
public String getSummary(int notificationNumber, int groupIndex)
Returns the nth notification summary.- Parameters:
notificationNumber
- The notification group number.groupIndex
- The index of the notification in the group.- Returns:
- the summary of the mention.
-
-