Class ApplicationHomePage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.appwithinminutes.test.po.ApplicationHomePage
-
public class ApplicationHomePage extends ViewPage
Represents the actions possible on the application home page.- Since:
- 4.2M1
- Version:
- $Id: d11299c606e9a03dd2b44ac1e3755c15d82e8380 $
-
-
Constructor Summary
Constructors Constructor Description ApplicationHomePage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryNamePane
clickAddNewEntry()
Clicks on the link to add a new application entry.ConfirmationPage
clickDeleteAllEntries()
ConfirmationPage
clickDeleteApplication()
ApplicationClassEditPage
clickEditApplication()
Clicks on the link that leads to the class editor.protected <T extends InlinePage>
TcreateInlinePage()
LiveTableElement
getEntriesLiveTable()
String
getFilterInputId(int columnIndex, String appName)
Returns the filter input id of a column of an AWM application livetable.static ApplicationHomePage
gotoPage(String appName)
Loads the home page of the specified application.boolean
hasEntriesLiveTable()
-
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, 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
-
-
-
-
Method Detail
-
gotoPage
public static ApplicationHomePage gotoPage(String appName)
Loads the home page of the specified application.- Parameters:
appName
- the application name- Returns:
- the application home page
- Since:
- 5.1RC1
-
clickAddNewEntry
public EntryNamePane clickAddNewEntry()
Clicks on the link to add a new application entry.- Returns:
- the pane used to input the entry name
-
clickEditApplication
public ApplicationClassEditPage clickEditApplication()
Clicks on the link that leads to the class editor.- Returns:
- the page used to edit the application class
-
getEntriesLiveTable
public LiveTableElement getEntriesLiveTable()
- Returns:
- the live table used to browser application data
-
hasEntriesLiveTable
public boolean hasEntriesLiveTable()
- Returns:
true
if the entries live table is displayed on the home page,false
otherwise
-
clickDeleteAllEntries
public ConfirmationPage clickDeleteAllEntries()
-
clickDeleteApplication
public ConfirmationPage clickDeleteApplication()
-
getFilterInputId
public String getFilterInputId(int columnIndex, String appName)
Returns the filter input id of a column of an AWM application livetable.- Parameters:
columnIndex
- the column indexappName
- the application name- Returns:
- the id of the filter input for the specified column
- Since:
- 13.2, 12.10.6
-
createInlinePage
protected <T extends InlinePage> T createInlinePage()
- Overrides:
createInlinePage
in classBasePage
-
-