|
||||||||||
| 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
public class ViewPage
Represents the common actions possible on all Pages when using the "view" action.
| Constructor Summary | |
|---|---|
ViewPage()
|
|
| Method Summary | |
|---|---|
ViewPage |
clickBreadcrumbLink(String linkText)
Clicks on the breadcrumb link with the given text. |
void |
clickWantedLink(String spaceName,
String pageName,
boolean waitForTemplateDisplay)
Clicks on a wanted link in the page. |
WYSIWYGEditPage |
editSection(int sectionNumber)
|
boolean |
exists()
|
String |
getBreadcrumbContent()
|
String |
getContent()
|
boolean |
hasBreadcrumbContent(String breadcrumbItem,
boolean isCurrent)
|
boolean |
isInlinePage()
|
AttachmentsPane |
openAttachmentsDocExtraPane()
|
CommentsTab |
openCommentsDocExtraPane()
Opens the comments tab. |
HistoryPane |
openHistoryDocExtraPane()
|
void |
waitForDocExtraPaneActive(String paneId)
|
void |
waitUntilContent(String expectedValue)
Waits until the page has the passed content by refreshing the page |
| 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, waitUntilPageIsLoaded, watchDocument, watchSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewPage()
| Method Detail |
|---|
public CommentsTab openCommentsDocExtraPane()
public HistoryPane openHistoryDocExtraPane()
public AttachmentsPane openAttachmentsDocExtraPane()
public boolean exists()
public String getContent()
public WYSIWYGEditPage editSection(int sectionNumber)
public void clickWantedLink(String spaceName,
String pageName,
boolean waitForTemplateDisplay)
public String getBreadcrumbContent()
public boolean hasBreadcrumbContent(String breadcrumbItem,
boolean isCurrent)
public ViewPage clickBreadcrumbLink(String linkText)
linkText - the link text
public boolean isInlinePage()
public void waitForDocExtraPaneActive(String paneId)
paneId - valid values: "history", "comments", etcpublic void waitUntilContent(String expectedValue)
expectedValue - the content value to wait for (in regex format)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||