Class TaskManagerHomePage

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.TaskManagerHomePage

public class TaskManagerHomePage extends org.xwiki.test.ui.po.ViewPage
Represents actions that can be done on the TaskManager.WebHome page.
Since:
4.3M2
Version:
$Id: b3d6b45d382bdfae77b31ceeb16805fefdbfcd21 $
  • Field Summary

    Fields inherited from class org.xwiki.test.ui.po.BasePage

    logo
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Validate the name in the popup and create the task
    void
    Click on the "Add New Entry" which is a link, part of the AppWithinMinutes application
    void
    Click the button which leads to the list of task templates, to redirect to the templates page.
    static String
     
    static String
     
    org.xwiki.livedata.test.po.TableLayoutElement
     
    org.xwiki.test.ui.po.LiveTableElement
    Deprecated.
    since 3.10.0, use getTaskLiveDataTable() instead.
    Opens the home page.
    void
    setEntryName(String taskName)
    Set the name of the task to be created in the popup

    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

    Methods inherited from class org.xwiki.test.ui.po.BaseElement

    getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TaskManagerHomePage

      public TaskManagerHomePage()
  • Method Details

    • gotoPage

      public static TaskManagerHomePage gotoPage()
      Opens the home page.
    • getSpace

      public static String getSpace()
    • getPage

      public static String getPage()
    • clickAddNewEntry

      public void clickAddNewEntry()
      Click on the "Add New Entry" which is a link, part of the AppWithinMinutes application
    • setEntryName

      public void setEntryName(String taskName)
      Set the name of the task to be created in the popup
      Parameters:
      taskName - Name that will be used to create the task
    • clickAddEntry

      public TaskManagerInlinePage clickAddEntry()
      Validate the name in the popup and create the task
      Returns:
      Return the inline page to edit the task
    • clickTaskTemplateListButton

      public void clickTaskTemplateListButton()
      Click the button which leads to the list of task templates, to redirect to the templates page.
      Since:
      3.10.0
    • getTaskLiveTable

      @Deprecated(since="3.10.0") public org.xwiki.test.ui.po.LiveTableElement getTaskLiveTable()
      Deprecated.
      since 3.10.0, use getTaskLiveDataTable() instead.
      Returns:
      the FAQ livetable element
    • getTaskLiveDataTable

      public org.xwiki.livedata.test.po.TableLayoutElement getTaskLiveDataTable()
      Returns:
      the table layout of the livedata present on the homepage.
      Since:
      3.10.0