Class ConfluenceHomePage


  • public class ConfluenceHomePage
    extends org.xwiki.test.ui.po.ViewPage
    Represents actions that can be done on the home page of the app.
    Since:
    1.0
    Version:
    $Id$
    • Field Summary

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

        logo
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void attachFiles​(String testResourcePath, List<String> files)  
      boolean checkIfSectionWasLoaded​(String sectionClass)  
      int countBatches()  
      CreateBatchPage createNewBatch()  
      MigrationRunningPage getMigrationRunningPage​(int migrationIndex)  
      org.xwiki.livedata.test.po.LiveDataElement getMigrationsLiveTable()  
      org.xwiki.livedata.test.po.LiveDataElement getPackageLiveTable()  
      static ConfluenceHomePage goToPage()  
      String migrationStatus​(int migrationIndex)  
      void openHowToMigrateSubsection​(String subsectionClass)  
      void openSection​(String contentContainer)  
      void selectMigrationOptions​(String selector, String value)  
      MigrationCreationPage selectPackage​(int number)  
      • 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
    • Constructor Detail

      • ConfluenceHomePage

        public ConfluenceHomePage()
    • Method Detail

      • getPackageLiveTable

        public org.xwiki.livedata.test.po.LiveDataElement getPackageLiveTable()
      • getMigrationsLiveTable

        public org.xwiki.livedata.test.po.LiveDataElement getMigrationsLiveTable()
      • migrationStatus

        public String migrationStatus​(int migrationIndex)
        Parameters:
        migrationIndex - the index of the migration in the livedata.
        Returns:
        the status of the migration
        Since:
        1.34.3
      • getMigrationRunningPage

        public MigrationRunningPage getMigrationRunningPage​(int migrationIndex)
      • openHowToMigrateSubsection

        public void openHowToMigrateSubsection​(String subsectionClass)
      • selectMigrationOptions

        public void selectMigrationOptions​(String selector,
                                           String value)
      • openSection

        public void openSection​(String contentContainer)
      • checkIfSectionWasLoaded

        public boolean checkIfSectionWasLoaded​(String sectionClass)
      • attachFiles

        public void attachFiles​(String testResourcePath,
                                List<String> files)
      • countBatches

        public int countBatches()