|
||||||||||
| 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
public class BasePage
Represents the common actions possible on all Pages.
| Constructor Summary | |
|---|---|
BasePage()
|
|
| Method Summary | ||
|---|---|---|
boolean |
canDelete()
|
|
protected void |
clickContentMenuEditSubMenuEntry(String id)
Perform a click on a "content menu" sub-menu entry. |
|
protected void |
clickContentMenuTopEntry(String id)
Perform a click on a "content menu" top entry. |
|
CopyPage |
copy()
|
|
protected
|
createInlinePage()
Can be overridden to return extended InlinePage. |
|
CreatePagePage |
createPage()
|
|
CreateSpacePage |
createSpace()
|
|
ConfirmationPage |
delete()
|
|
void |
edit()
Performs a click on the "edit" entry of the content menu. |
|
ClassEditPage |
editClass()
Performs a click on the "edit class" entry of the content menu. |
|
|
editInline()
Performs a click on the "edit inline" entry of the content menu. |
|
ObjectEditPage |
editObjects()
Performs a click on the "edit objects" entry of the content menu. |
|
RightsEditPage |
editRights()
Performs a click on the "edit acces rights" entry of the content menu. |
|
WikiEditPage |
editWiki()
Performs a click on the "edit wiki" entry of the content menu. |
|
WYSIWYGEditPage |
editWYSIWYG()
Performs a click on the "edit wysiwyg" entry of the content menu. |
|
String |
getCurrentUser()
|
|
String |
getDocumentTitle()
|
|
String |
getEditURL()
Gets a string representation of the URL for editing the page. |
|
String |
getMetaDataValue(String metaName)
|
|
String |
getPageMenuLink()
|
|
String |
getPageTitle()
|
|
String |
getPageURL()
|
|
boolean |
hasLoginLink()
|
|
boolean |
isAuthenticated()
|
|
boolean |
isNewDocument()
Determine if the current page is a new document. |
|
LoginPage |
login()
|
|
void |
logout()
|
|
RegistrationPage |
register()
|
|
void |
sendKeys(CharSequence... keys)
|
|
BasePage |
waitUntilPageIsLoaded()
Waits until the page has loaded. |
|
void |
watchDocument()
|
|
void |
watchSpace()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasePage()
| Method Detail |
|---|
public String getPageTitle()
public String getPageURL()
public String getMetaDataValue(String metaName)
public boolean isAuthenticated()
public boolean isNewDocument()
protected void clickContentMenuTopEntry(String id)
id - The id of the entry to followprotected void clickContentMenuEditSubMenuEntry(String id)
id - The id of the entry to followpublic void edit()
public String getEditURL()
public WikiEditPage editWiki()
public WYSIWYGEditPage editWYSIWYG()
public <T extends InlinePage> T editInline()
protected <T extends InlinePage> T createInlinePage()
InlinePage.
public RightsEditPage editRights()
public ObjectEditPage editObjects()
public ClassEditPage editClass()
public void sendKeys(CharSequence... keys)
public BasePage waitUntilPageIsLoaded()
public CreatePagePage createPage()
public CreateSpacePage createSpace()
public CopyPage copy()
public ConfirmationPage delete()
public boolean canDelete()
public void watchDocument()
public boolean hasLoginLink()
public LoginPage login()
public String getCurrentUser()
public void logout()
public RegistrationPage register()
public String getDocumentTitle()
public void watchSpace()
public String getPageMenuLink()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||