public class ClassSheetPage extends ViewPage
Constructor and Description |
---|
ClassSheetPage() |
Modifier and Type | Method and Description |
---|---|
ClassSheetPage |
clickAddObjectToTemplateLink()
Clicks on the link to add an instance of the class to the template document.
|
ClassSheetPage |
clickBindSheetLink()
Clicks on the link to bind the class to its sheet.
|
InlinePage |
clickCreateDocumentButton()
Clicks the button to create a new document based on the class template.
|
ClassSheetPage |
clickCreateSheetButton()
Clicks on the button to create a sheet for the class that is being displayed.
|
ClassSheetPage |
clickCreateTemplateButton()
Clicks on the button to create the class template.
|
ClassEditPage |
clickDefineClassLink()
Clicks on the link to define the class.
|
ClassEditPage |
clickEditClassLink()
Clicks on the link to edit the class.
|
ViewPage |
clickSheetLink()
Clicks on the link to view the class sheet.
|
ViewPage |
clickTemplateLink()
Clicks on the template link and returns the template page
|
InlinePage |
createNewDocument(String spaceName,
String pageName)
Creates a new document with the specified name, in the specified space, based on the class template.
|
DocumentPicker |
getNewPagePicker() |
boolean |
hasDocument(String documentName) |
boolean |
hasProperty(String name,
String prettyName,
String type) |
ClassSheetPage |
waitUntilPageIsLoaded() |
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getContent, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutKeyForAttachmentPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
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, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public ViewPage clickTemplateLink()
public ViewPage clickSheetLink()
public ClassEditPage clickDefineClassLink()
public ClassEditPage clickEditClassLink()
public boolean hasProperty(String name, String prettyName, String type)
name
- the property nameprettyName
- the property pretty nametype
- the property typetrue
if the sheet lists the specified property, false
otherwisepublic ClassSheetPage clickCreateSheetButton()
public ClassSheetPage clickBindSheetLink()
public ClassSheetPage clickCreateTemplateButton()
public ClassSheetPage clickAddObjectToTemplateLink()
public DocumentPicker getNewPagePicker()
public InlinePage clickCreateDocumentButton()
public InlinePage createNewDocument(String spaceName, String pageName)
spaceName
- the name of the space where to create the new documentpageName
- the name of the new documentpublic boolean hasDocument(String documentName)
documentName
- the name of a documenttrue
if the specified document is listed as having an object of the class being viewed,
false
otherwisepublic ClassSheetPage waitUntilPageIsLoaded()
waitUntilPageIsLoaded
in class BasePage
Copyright © 2004–2021 XWiki. All rights reserved.