Package io.jmix.masquerade.component
Class Accordion
- All Implemented Interfaces:
Container,SpecificConditionHandler,ByLocator,SelenideElementWrapper<Accordion>
Web-element wrapper for accordion. Supports working with accordion panels.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAccordion panel web-element wrapper. -
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPanelBy(org.openqa.selenium.By by) getPanelById(String panelUiTestId) getPanelByText(String panelText) protected org.openqa.selenium.BygetPanelByTextBy(String panelText) Methods inherited from class io.jmix.masquerade.component.AbstractComponent
getBy, 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
-
Accordion
public Accordion(org.openqa.selenium.By by)
-
-
Method Details
-
getPanelById
- Parameters:
panelUiTestId-UI_TEST_IDattribute value pf the accordion panel web-element- Returns:
- web-element wrapper for accordion panel found by the passed ID
-
getPanelByText
- Parameters:
panelText- accordion panel heading text- Returns:
- web-element wrapper for accordion panel found by the passed heading text
-
getPanelBy
- Parameters:
by-Byselector to find accordion panel- Returns:
- web-element wrapper for accordion panel found by the passed
Byselector
-
getPanelByTextBy
-