Class PageEditorPage
- java.lang.Object
-
- com.adobe.cq.testing.selenium.pageobject.granite.BasePage
-
- com.adobe.cq.testing.selenium.pageobject.EditorPage
-
- com.adobe.cq.testing.selenium.pageobject.PageEditorPage
-
public final class PageEditorPage extends EditorPage
Editor page class representing Page Editor.
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pageobject.EditorPage
selectModeButton
-
-
Constructor Summary
Constructors Constructor Description PageEditorPage(java.lang.String pagePath)PageEditorPage(java.net.URI base, java.lang.String pagePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageEditorPageenterAnnotateMode()Switch to the Annotation Mode of Page Editor.PageEditorPageenterDeveloperMode()Switch to the Developer Mode of Page Editor.PageEditorPageenterEditMode()Switch to the Edit Mode of Page Editor.PageEditorPageenterLayoutMode()Switch to the Layout Mode of Page Editor.PageEditorPageenterTimewarpMode()Switch to the Timewarp Mode of Page Editor.com.codeborne.selenide.SelenideElementgetLockButton()com.codeborne.selenide.SelenideElementgetResourceStatusBar()TimewarpDialoggetTimewarpDialog()booleanisInDeveloperMode()confirms if Editor is in Developer modebooleanisInEditMode()confirms if Editor is in Edit modebooleanisInLayoutMode()confirms if Editor is in Layout modebooleanisInTimewarpMode()confirms if Editor is in Timewarp modePageEditorPageleaveAnnotateMode()Switch back from Annotation Mode of Page Editor.-
Methods inherited from class com.adobe.cq.testing.selenium.pageobject.EditorPage
actionBar, clickStyles, closeStyles, enterMode, enterPreviewMode, getComponentOverlay, getContentFrame, getContentWrapper, getEditables, getInspectableComponentOverlay, getInspectables, getOverlayWrapper, getPageInfo, getPageName, getRedoButton, getStylesButton, getTextComponents, getUndoButton, isComponentOverlaySelected, isInPreviewMode, openEditableToolbar, waitReady
-
Methods inherited from class com.adobe.cq.testing.selenium.pageobject.granite.BasePage
getEditedPath, getPath, getUrl, isOpen, open, open, openInNewWindow, refresh, waitForMessage, waitMasked, waitUnmasked
-
-
-
-
Method Detail
-
getLockButton
public com.codeborne.selenide.SelenideElement getLockButton()
-
getResourceStatusBar
public com.codeborne.selenide.SelenideElement getResourceStatusBar()
-
enterEditMode
public PageEditorPage enterEditMode() throws java.util.concurrent.TimeoutException
Switch to the Edit Mode of Page Editor.- Returns:
- self object
- Throws:
java.util.concurrent.TimeoutException- if something wrong occurred
-
enterLayoutMode
public PageEditorPage enterLayoutMode() throws java.util.concurrent.TimeoutException
Switch to the Layout Mode of Page Editor.- Returns:
- self object
- Throws:
java.util.concurrent.TimeoutException- if something wrong occurred
-
enterDeveloperMode
public PageEditorPage enterDeveloperMode() throws java.util.concurrent.TimeoutException
Switch to the Developer Mode of Page Editor.- Returns:
- self object
- Throws:
java.util.concurrent.TimeoutException- if something wrong occurred
-
enterTimewarpMode
public PageEditorPage enterTimewarpMode() throws java.util.concurrent.TimeoutException
Switch to the Timewarp Mode of Page Editor.- Returns:
- self object
- Throws:
java.util.concurrent.TimeoutException- if something wrong occurred
-
enterAnnotateMode
public PageEditorPage enterAnnotateMode()
Switch to the Annotation Mode of Page Editor.- Returns:
- self object
-
leaveAnnotateMode
public PageEditorPage leaveAnnotateMode()
Switch back from Annotation Mode of Page Editor.- Returns:
- self object
-
getTimewarpDialog
public TimewarpDialog getTimewarpDialog() throws java.util.concurrent.TimeoutException
- Returns:
TimewarpDialogobject- Throws:
java.util.concurrent.TimeoutException- TimeoutException if component is not visible before Timeout
-
isInEditMode
public boolean isInEditMode()
confirms if Editor is in Edit mode- Returns:
- true if Editor is in Edit Mode, false otherwise
-
isInLayoutMode
public boolean isInLayoutMode()
confirms if Editor is in Layout mode- Returns:
- true if Editor is in Layout Mode, false otherwise
-
isInDeveloperMode
public boolean isInDeveloperMode()
confirms if Editor is in Developer mode- Returns:
- true if Editor is in Developer Mode, false otherwise
-
isInTimewarpMode
public boolean isInTimewarpMode()
confirms if Editor is in Timewarp mode- Returns:
- true if Editor is in Timewarp Mode, false otherwise
-
-