Class CreatePageWizard
- 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.pagewidgets.cq.sites.CreatePageWizard
-
public class CreatePageWizard extends Wizard
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Constructor Summary
Constructors Constructor Description CreatePageWizard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogconfirmDialog()booleanisOpened()com.codeborne.selenide.SelenideElementname()com.codeborne.selenide.SelenideElementnavTitle()com.codeborne.selenide.SelenideElementpageTitle()voidselectTemplate(java.lang.String templateId)AutoCompleteFieldtags()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.
-
selectTemplate
public void selectTemplate(java.lang.String templateId)
- Parameters:
templateId- the id of the template (path in apps or libs usually).
-
title
public com.codeborne.selenide.SelenideElement title()
- Returns:
- the title field.
-
name
public com.codeborne.selenide.SelenideElement name()
- Returns:
- the name field.
-
pageTitle
public com.codeborne.selenide.SelenideElement pageTitle()
- Returns:
- the pageTitle field.
-
navTitle
public com.codeborne.selenide.SelenideElement navTitle()
- Returns:
- the navTitle field.
-
tags
public AutoCompleteField tags()
- Returns:
- the siteOwner field.
-
confirmDialog
public Dialog confirmDialog()
- Returns:
- the confirm dialog displayed at last step.
-
-