|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage com.atlassian.confluence.pageobjects.page.content.AbstractEditorPage<T,U>
public abstract class AbstractEditorPage<T extends AbstractViewPage,U extends AbstractEditorPage>
Represents a page that includes an Editor.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
---|
driver, pageBinder, pageElementFinder, timeouts, waiter |
Constructor Summary | |
---|---|
AbstractEditorPage(java.lang.Class<T> classWhenSaving,
java.lang.Class<U> classWhenFailing,
java.lang.String pageMetaIdentifier)
|
Method Summary | |
---|---|
T |
cancel()
|
void |
cancelDoNotBind()
Cancel buttons can really go to different places, particularly on create. |
void |
clearSessionToken()
|
void |
doWaitUntilTinyMceIsInit()
|
AbstractEditorPage |
edit()
Click edit from the preview screen. |
Breadcrumbs |
getBreadcrumbs()
|
EditorContent |
getContent()
|
java.util.List<java.lang.String> |
getErrorMessages()
|
ImageBrowserDialog |
getImageBrowserDialog()
|
ImagePropertyPanel |
getImagePropertyPanel()
|
Location |
getLocation()
|
PageLayoutMenu |
getPageLayoutMenu()
|
java.lang.String |
getTitle()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasDraftStatus()
Returns a timed condition for which true means the little "Draft autosaved message" would be visible if the window were big enough to display it. |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasExistingDraftMessage()
Is a message displayed about there being a pre-existing draft for this page? |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasPreviewContent(java.lang.String string)
After clicking preview() , does the preview display the given string. |
com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> |
hasViewAutosavedChanges()
|
com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> |
hasViewPreviousChanges()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isDirty()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isQuickEdit()
Returns true if the editor has been loaded without an extra page load (quick edit) If we load the page in full mode, AJS.Confluence.QuickEdit will be undefined |
boolean |
isTitleEditable()
|
ViewDraftDiffDialog |
openDraftChangesDialogFromAutosave()
|
ViewDraftDiffDialog |
openDraftChangesDialogFromWarning()
|
InsertMenu |
openInsertMenu()
|
LabelsDialog |
openLabelsDialog()
|
MacroBrowserDialog |
openMacroBrowser()
|
PageRestrictionsDialog |
openRestrictionsDialog()
|
WikiMarkupDialog |
openWikiMarkupDialog()
|
void |
preview()
|
T |
save()
|
U |
saveAndExpectToFail()
|
T |
saveWithEnterInVersionComment()
|
ViewPage |
saveWithKeyboardShortcut()
|
AbstractEditorPage<T,U> |
setTitle(java.lang.String title)
|
void |
setVersionComment(java.lang.String versionCommentText)
|
PageLayout2Toolbar |
showPageLayout2Menu()
|
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
---|
back, doWait, getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.pageobjects.Page |
---|
getUrl |
Constructor Detail |
---|
public AbstractEditorPage(java.lang.Class<T> classWhenSaving, java.lang.Class<U> classWhenFailing, java.lang.String pageMetaIdentifier)
Method Detail |
---|
public void doWaitUntilTinyMceIsInit()
public AbstractEditorPage<T,U> setTitle(java.lang.String title)
public java.lang.String getTitle()
public EditorContent getContent()
public PageLayoutMenu getPageLayoutMenu()
public PageLayout2Toolbar showPageLayout2Menu()
public Location getLocation()
public T cancel()
public void cancelDoNotBind()
public T save()
public U saveAndExpectToFail()
public boolean isTitleEditable()
public void setVersionComment(java.lang.String versionCommentText)
public T saveWithEnterInVersionComment()
public ViewPage saveWithKeyboardShortcut()
public void clearSessionToken()
public ImagePropertyPanel getImagePropertyPanel()
public ImageBrowserDialog getImageBrowserDialog()
public java.util.List<java.lang.String> getErrorMessages()
public MacroBrowserDialog openMacroBrowser()
public WikiMarkupDialog openWikiMarkupDialog()
public InsertMenu openInsertMenu()
public LabelsDialog openLabelsDialog()
public Breadcrumbs getBreadcrumbs()
public PageRestrictionsDialog openRestrictionsDialog()
public void preview()
public com.atlassian.pageobjects.elements.query.TimedCondition hasDraftStatus()
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasViewAutosavedChanges()
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasViewPreviousChanges()
public com.atlassian.pageobjects.elements.query.TimedCondition hasPreviewContent(java.lang.String string)
preview()
, does the preview display the given string.
public com.atlassian.pageobjects.elements.query.TimedCondition hasExistingDraftMessage()
public ViewDraftDiffDialog openDraftChangesDialogFromWarning()
public ViewDraftDiffDialog openDraftChangesDialogFromAutosave()
public com.atlassian.pageobjects.elements.query.TimedCondition isQuickEdit()
public com.atlassian.pageobjects.elements.query.TimedCondition isDirty()
public AbstractEditorPage edit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |