Class AEMBaseComponent
- java.lang.Object
-
- com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
-
- com.adobe.cq.testing.selenium.pagewidgets.common.AEMBaseComponent
-
- Direct Known Subclasses:
AdvancedTab,BaseSidePanel,BlueprintTab,Breadcrumbs,CalendarPicker,CalendarPicker,CloudServicesTab,Collection,CollectionSwitcher,CoralActionBar,CoralActionBar.Item,CoralAnchorList,CoralButtonList,CoralCheckbox,CoralClock,CoralColumnPreview,CoralColumnviewItemThumbnail,CoralCycleButton,CoralList,CoralList.CoralListItem,CoralMultiField,CoralMultiField.MultiFieldItem,CoralPopOver,CoralQuickActions,CoralRadio,CoralSelect,CoralSelectList,CoralStepList,CoralTagList,CoralToast,CreateActions,Dialog,EditableToolbar,ImageTab,InlineEditor,LiveCopyTab,Omnisearch,Onboarding,PageInfo,PageSelector,PermissionsTab,Rail,RichTextToolbar,SocialMediaTab,StylesSelector,ThumbnailTab,TimelinePanel,TimelineWorkflowEvent,VariantAccessor,Wizard
public class AEMBaseComponent extends BaseComponent
Base component class for inheritance.
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Constructor Summary
Constructors Constructor Description AEMBaseComponent(com.codeborne.selenide.SelenideElement element)AEMBaseComponent(java.lang.String selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAction()java.lang.StringgetTrackingElement()voidwaitPageMasked()Wait that the foundation UI mask exist.voidwaitPageUnmasked()Wait that the foundation UI mask doesn't exist.<T extends BaseComponent>
TwaitReady()wait ready (coral wize).-
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
-
-
-
-
Constructor Detail
-
AEMBaseComponent
public AEMBaseComponent(java.lang.String selector)
- Parameters:
selector- The full CSS selector that leads to the HTML element.
-
AEMBaseComponent
public AEMBaseComponent(com.codeborne.selenide.SelenideElement element)
- Parameters:
element- selenide element to associate.
-
-
Method Detail
-
waitPageMasked
public void waitPageMasked()
Wait that the foundation UI mask exist.
-
waitPageUnmasked
public void waitPageUnmasked()
Wait that the foundation UI mask doesn't exist.
-
waitReady
public <T extends BaseComponent> T waitReady()
wait ready (coral wize).- Overrides:
waitReadyin classBaseComponent- Type Parameters:
T- concrete type- Returns:
- component of concrete type
-
getTrackingElement
public java.lang.String getTrackingElement()
- Returns:
- the "trackingelement" attribute value if present, null if not.
-
getAction
public java.lang.String getAction()
- Returns:
- the "data-foundation-collection-action" attribute value if present, null if not.
-
-