Class ActiveStatusViewPage


  • public class ActiveStatusViewPage
    extends org.xwiki.test.ui.po.ViewPage
    Version:
    $Id$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDescription()  
      String getEmptyPageWarningMessage()  
      String getGuestCannotChangeVoteWarningMessage()  
      int getNumberOfUsersThatAlreadyVotedFromTable()  
      void getProposals()  
      org.openqa.selenium.WebElement getVoteInput​(int i)  
      boolean searchIfUserIsInTable​(String user)  
      String voteGetGuestName()  
      void voteProposal​(int i)  
      void voteSetGuestName​(String guestName)  
      • Methods inherited from class org.xwiki.test.ui.po.ViewPage

        clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, 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, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
      • Methods inherited from class org.xwiki.test.ui.po.BaseElement

        getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
    • Field Detail

      • pollDescription

        public org.openqa.selenium.WebElement pollDescription
      • proposals

        public List<org.openqa.selenium.WebElement> proposals
      • proposalVoteInputs

        public List<org.openqa.selenium.WebElement> proposalVoteInputs
      • saveButton

        public org.openqa.selenium.WebElement saveButton
      • usersThatVotedTableRows

        public List<org.openqa.selenium.WebElement> usersThatVotedTableRows
      • emptyPageWarningMessage

        public org.openqa.selenium.WebElement emptyPageWarningMessage
      • guestCannotChangeVoteWarningMessage

        public org.openqa.selenium.WebElement guestCannotChangeVoteWarningMessage
    • Constructor Detail

      • ActiveStatusViewPage

        public ActiveStatusViewPage()
    • Method Detail

      • getDescription

        public String getDescription()
      • getProposals

        public void getProposals()
      • voteProposal

        public void voteProposal​(int i)
      • voteSetGuestName

        public void voteSetGuestName​(String guestName)
      • voteGetGuestName

        public String voteGetGuestName()
      • getVoteInput

        public org.openqa.selenium.WebElement getVoteInput​(int i)
      • getNumberOfUsersThatAlreadyVotedFromTable

        public int getNumberOfUsersThatAlreadyVotedFromTable()
      • getEmptyPageWarningMessage

        public String getEmptyPageWarningMessage()
      • getGuestCannotChangeVoteWarningMessage

        public String getGuestCannotChangeVoteWarningMessage()
      • searchIfUserIsInTable

        public boolean searchIfUserIsInTable​(String user)