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 class
Accordion 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.By
getPanelByTextBy
(String panelText) Methods inherited from class io.jmix.masquerade.component.AbstractComponent
getBy, getDelegate
Methods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
check, should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHave
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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_ID
attribute 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
-By
selector to find accordion panel- Returns:
- web-element wrapper for accordion panel found by the passed
By
selector
-
getPanelByTextBy
-