Package io.jmix.masquerade.component
Class AbstractDetails<T extends AbstractDetails<T>>
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.AbstractComponent<T>
io.jmix.masquerade.component.AbstractDetails<T>
- Type Parameters:
T- inheritor class type
- All Implemented Interfaces:
Container,SpecificConditionHandler,ByLocator,SelenideElementWrapper<T>
- Direct Known Subclasses:
Accordion.Panel,Details
public abstract class AbstractDetails<T extends AbstractDetails<T>>
extends AbstractComponent<T>
implements Container
Abstract class for details web-element wrappers. Supports clicking on header and child selection as a
Container implementation.-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClicks on details header to open or close content.org.openqa.selenium.BygetBy()abstract com.codeborne.selenide.SelenideElementMethods inherited from class io.jmix.masquerade.component.AbstractComponent
getDelegateMethods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
check, should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHaveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.masquerade.sys.SelenideElementWrapper
disabled, displayed, enabled, exists, shouldHaveAttribute, shouldHaveAttributeValue, shouldHaveCss, shouldHaveCssValue, shouldNotHaveAttribute, shouldNotHaveAttributeValue, shouldNotHaveCss, shouldNotHaveCssValue
-
Constructor Details
-
AbstractDetails
protected AbstractDetails(org.openqa.selenium.By by)
-
-
Method Details
-
clickOnHeader
Clicks on details header to open or close content.- Returns:
thisto call fluent API
-
getBy
public org.openqa.selenium.By getBy()- Specified by:
getByin interfaceByLocator- Overrides:
getByin classAbstractComponent<T extends AbstractDetails<T>>- Returns:
Byselector by which the current web-element can be found
-
getSummaryElement
public abstract com.codeborne.selenide.SelenideElement getSummaryElement()- Returns:
SelenideElementfor details summary web-element
-