|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.ViewPage
org.xwiki.test.po.xe.ClassSheetPage
public class ClassSheetPage
Represents the sheet used to display information about a XWiki class.
| Constructor Summary | |
|---|---|
ClassSheetPage()
|
|
| Method Summary | |
|---|---|
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. |
org.xwiki.appwithinminutes.test.po.EntryEditPage |
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. |
org.xwiki.test.ui.po.editor.ClassEditPage |
clickDefineClassLink()
Clicks on the link to define the class. |
org.xwiki.test.ui.po.editor.ClassEditPage |
clickEditClassLink()
Clicks on the link to edit the class. |
org.xwiki.test.ui.po.ViewPage |
clickSheetLink()
Clicks on the link to view the class sheet. |
org.xwiki.test.ui.po.ViewPage |
clickTemplateLink()
Clicks on the template link and returns the template page |
org.xwiki.appwithinminutes.test.po.EntryEditPage |
createNewDocument(String spaceName,
String pageName)
Creates a new document with the specified name, in the specified space, based on the class template. |
org.openqa.selenium.WebElement |
getDocumentNameInput()
|
org.openqa.selenium.WebElement |
getSpaceNameInput()
|
boolean |
hasDocument(String documentName)
|
boolean |
hasProperty(String name,
String prettyName,
String type)
|
ClassSheetPage |
waitUntilPageIsLoaded()
|
| Methods inherited from class org.xwiki.test.ui.po.ViewPage |
|---|
clickBreadcrumbLink, clickWantedLink, editSection, exists, getBreadcrumbContent, getContent, hasBreadcrumbContent, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, waitForDocExtraPaneActive, waitUntilContent |
| Methods inherited from class org.xwiki.test.ui.po.BasePage |
|---|
canDelete, clickContentMenuEditSubMenuEntry, clickContentMenuTopEntry, copy, createInlinePage, createPage, createSpace, delete, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getMetaDataValue, getPageMenuLink, getPageTitle, getPageURL, hasLoginLink, isAuthenticated, isNewDocument, login, logout, register, sendKeys, watchDocument, watchSpace |
| Methods inherited from class org.xwiki.test.ui.po.BaseElement |
|---|
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassSheetPage()
| Method Detail |
|---|
public org.xwiki.test.ui.po.ViewPage clickTemplateLink()
public org.xwiki.test.ui.po.ViewPage clickSheetLink()
public org.xwiki.test.ui.po.editor.ClassEditPage clickDefineClassLink()
public org.xwiki.test.ui.po.editor.ClassEditPage clickEditClassLink()
public boolean hasProperty(String name,
String prettyName,
String type)
name - the property nameprettyName - the property pretty nametype - the property type
true if the sheet lists the specified property, false otherwisepublic ClassSheetPage clickCreateSheetButton()
public ClassSheetPage clickBindSheetLink()
public ClassSheetPage clickCreateTemplateButton()
public ClassSheetPage clickAddObjectToTemplateLink()
public org.openqa.selenium.WebElement getSpaceNameInput()
public org.openqa.selenium.WebElement getDocumentNameInput()
public org.xwiki.appwithinminutes.test.po.EntryEditPage clickCreateDocumentButton()
public org.xwiki.appwithinminutes.test.po.EntryEditPage createNewDocument(String spaceName,
String pageName)
spaceName - the name of the space where to create the new documentpageName - the name of the new document
public boolean hasDocument(String documentName)
documentName - the name of a document
true if the specified document is listed as having an object of the class being viewed,
false otherwisepublic ClassSheetPage waitUntilPageIsLoaded()
waitUntilPageIsLoaded in class org.xwiki.test.ui.po.BasePage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||