Class ViewPageWithTasks
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.contrib.application.task.test.po.ViewPageWithTasks
-
public class ViewPageWithTasks extends org.xwiki.test.ui.po.ViewPageRepresents actions that can be done on a page that contains task macros..- Since:
- 3.2.1
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ViewPageWithTasks()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclickTaskMacroCheckbox(int index)StringgetTaskMacroContent(int index)org.openqa.selenium.WebElementgetTaskMacroLink(int index)List<org.openqa.selenium.WebElement>getTaskMacros()org.xwiki.livedata.test.po.TableLayoutElementgetTaskReportLivedataTable(int index)org.xwiki.test.ui.po.LiveTableElementgetTaskReportLiveTable()Deprecated.usegetTaskReportLivedataTable(int)instead.List<TaskElement>getTasks()booleanisTaskMacroCheckboxChecked(int index)-
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getLastModifiedText, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutForDocExtraPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
-
Methods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getDrawerMenu, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, getXWikiMessageContent, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, isAuthenticated, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, toggleActionMenu, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, validateWCAG, validateWCAG, validateWCAG, viewChildren, watchDocument, watchSpace, watchWiki
-
-
-
-
Method Detail
-
getTaskMacros
public List<org.openqa.selenium.WebElement> getTaskMacros()
-
getTasks
public List<TaskElement> getTasks()
-
getTaskMacroContent
public String getTaskMacroContent(int index)
-
getTaskMacroLink
public org.openqa.selenium.WebElement getTaskMacroLink(int index)
-
isTaskMacroCheckboxChecked
public boolean isTaskMacroCheckboxChecked(int index)
-
clickTaskMacroCheckbox
public void clickTaskMacroCheckbox(int index)
-
getTaskReportLiveTable
@Deprecated(since="3.10.0") public org.xwiki.test.ui.po.LiveTableElement getTaskReportLiveTable()
Deprecated.usegetTaskReportLivedataTable(int)instead.
-
getTaskReportLivedataTable
public org.xwiki.livedata.test.po.TableLayoutElement getTaskReportLivedataTable(int index)
- Parameters:
index- the index of the livedata element present on this page. Starts at 0.- Returns:
- the livedata found at the given index.
- Throws:
org.openqa.selenium.NoSuchElementException- if the index does not correspond to any livedata.- Since:
- 3.10.0
-
-