Class N2oDropDownTree.N2oDropDownTreeItem
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.N2oDropDownTree.N2oDropDownTreeItem
- All Implemented Interfaces:
Badge,Component,DropDown.DropDownItem,DropDownTree.DropDownTreeItem,Element,Expandable
- Enclosing class:
N2oDropDownTree
public class N2oDropDownTree.N2oDropDownTreeItem
extends N2oComponent
implements DropDownTree.DropDownTreeItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclick()voidcollapse()Скрытие выпадающего спискаvoidexpand()Раскрытие выпадающего спискаvoidПроверка того, что выпадающий список скрытvoidПроверка того, что выпадающий список раскрытvoidПроверка выбранностиvoidshouldHaveValue(String value, Duration... duration) Проверка текстаvoidПроверка невыбранностиprotected com.codeborne.selenide.SelenideElementswitcher()Methods inherited from class net.n2oapp.framework.autotest.impl.component.N2oComponent
shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from class net.n2oapp.framework.autotest.impl.component.N2oElement
element, setElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.n2oapp.framework.autotest.api.component.badge.Badge
badgeShouldExists, badgeShouldHaveColor, badgeShouldHaveImage, badgeShouldHaveImagePosition, badgeShouldHaveImageShape, badgeShouldHavePosition, badgeShouldHaveShape, badgeShouldHaveText, badgeShouldNotExists, badgeShouldNotHaveTextMethods inherited from interface net.n2oapp.framework.autotest.api.component.Component
should, should, should, shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from interface net.n2oapp.framework.autotest.api.component.DropDownTree.DropDownTreeItem
shouldBeDisabled, shouldBeEnabled, shouldHaveDescription, shouldHaveStatusColorMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oDropDownTreeItem
public N2oDropDownTreeItem(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
expand
public void expand()Description copied from interface:ExpandableРаскрытие выпадающего списка- Specified by:
expandin interfaceExpandable
-
collapse
public void collapse()Description copied from interface:ExpandableСкрытие выпадающего списка- Specified by:
collapsein interfaceExpandable
-
shouldBeExpanded
public void shouldBeExpanded()Description copied from interface:ExpandableПроверка того, что выпадающий список раскрыт- Specified by:
shouldBeExpandedin interfaceExpandable
-
shouldBeCollapsed
public void shouldBeCollapsed()Description copied from interface:ExpandableПроверка того, что выпадающий список скрыт- Specified by:
shouldBeCollapsedin interfaceExpandable
-
click
public void click()- Specified by:
clickin interfaceDropDownTree.DropDownTreeItem
-
shouldHaveValue
Description copied from interface:DropDown.DropDownItemПроверка текста- Specified by:
shouldHaveValuein interfaceDropDown.DropDownItem- Parameters:
value- ожидаемый текст
-
shouldBeSelected
public void shouldBeSelected()Description copied from interface:DropDown.DropDownItemПроверка выбранности- Specified by:
shouldBeSelectedin interfaceDropDown.DropDownItem
-
shouldNotBeSelected
public void shouldNotBeSelected()Description copied from interface:DropDown.DropDownItemПроверка невыбранности- Specified by:
shouldNotBeSelectedin interfaceDropDown.DropDownItem
-
switcher
protected com.codeborne.selenide.SelenideElement switcher()
-