Package org.xwiki.xclass.test.po
Class DataTypesPage
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.ViewPage
org.xwiki.xclass.test.po.DataTypesPage
Represents the page that lists the available data types (XClasses) and allows us to create a new type.
- Since:
- 4.5
- Version:
- $Id: 0eec09e407c9568b2f8ee2fa48836d9261d4ce9b $
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClass(String spaceName, String className) Starts the process of creating a new XClass.org.openqa.selenium.WebElementstatic DataTypesPagegotoPage()Opens the page that list the available data types.booleanisClassListed(String spaceName, String className) 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, waitUntilContentMethods 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, watchWikiMethods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
Constructor Details
-
DataTypesPage
public DataTypesPage()
-
-
Method Details
-
gotoPage
Opens the page that list the available data types.- Returns:
- the page that lists the available data types
-
createClass
Starts the process of creating a new XClass.- Parameters:
spaceName- the name of the space where to create the classclassName- the class name- Returns:
- the wiki edit mode for the specified class
-
getCreateClassButton
public org.openqa.selenium.WebElement getCreateClassButton()- Returns:
- the button used to create a new class
-
isClassListed
- Parameters:
spaceName- the name of the space were the class document isclassName- the name of the class document- Returns:
trueif the specified class is listed,falseotherwise
-