Class RestoreVersionWizard
- java.lang.Object
-
- com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
-
- com.adobe.cq.testing.selenium.pagewidgets.common.AEMBaseComponent
-
- com.adobe.cq.testing.selenium.pagewidgets.granite.Wizard
-
- com.adobe.cq.testing.selenium.pageobject.cq.sites.RestoreVersionWizard
-
public class RestoreVersionWizard extends Wizard
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Constructor Summary
Constructors Constructor Description RestoreVersionWizard()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collectioncollection()com.codeborne.selenide.SelenideElementcollectionStatus()booleanisOpened()static RestoreVersionWizardopen(java.lang.String parent, java.lang.String source)voidselectVersion(java.lang.String uuid, int index)com.codeborne.selenide.SelenideElementtitle()-
Methods inherited from class com.adobe.cq.testing.selenium.pagewidgets.granite.Wizard
cancel, cancelButton, next, nextButton, open, previous, previousButton, stepList
-
Methods inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.AEMBaseComponent
getAction, getTrackingElement, waitPageMasked, waitPageUnmasked, waitReady
-
Methods inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
adaptTo, click, element, getCssSelector, isExisting, isVisible, isVisibleWithinViewport, render, scrollTo, waitDisabled, waitEnabled, waitVanish, waitVisible
-
-
-
-
Method Detail
-
isOpened
public boolean isOpened()
- Returns:
- true if the wizard is opened.
-
title
public com.codeborne.selenide.SelenideElement title()
- Returns:
- the title field.
-
collection
public Collection collection()
- Returns:
- the list view collection.
-
collectionStatus
public com.codeborne.selenide.SelenideElement collectionStatus()
- Returns:
- the collection status.
-
selectVersion
public void selectVersion(java.lang.String uuid, int index)- Parameters:
uuid- uuid of the select versions objectindex- of the select option
-
open
public static RestoreVersionWizard open(java.lang.String parent, java.lang.String source)
- Parameters:
parent- the parent page on which to create the launch.source- the source page for this launch.- Returns:
- the page object for this wizard.
-
-