Class N2oDropDown.N2oDropDownItem
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.N2oDropDown.N2oDropDownItem
- All Implemented Interfaces:
Badge,Component,DropDown.DropDownItem,Element
- Enclosing class:
N2oDropDown
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidПроверка недоступности для выбораvoidПроверка доступности для выбораvoidПроверка выбранностиvoidshouldHaveDescription(String description, Duration... duration) Проверка соответствия описанияvoidshouldHaveStatusColor(ColorsEnum color) Проверка соответствия цветаvoidshouldHaveValue(String value, Duration... duration) Проверка текстаvoidПроверка невыбранности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.Element
element, setElement
-
Constructor Details
-
N2oDropDownItem
public N2oDropDownItem(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
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
-
shouldHaveDescription
Description copied from interface:DropDown.DropDownItemПроверка соответствия описания- Specified by:
shouldHaveDescriptionin interfaceDropDown.DropDownItem- Parameters:
description- ожидаемое описание
-
shouldHaveStatusColor
Description copied from interface:DropDown.DropDownItemПроверка соответствия цвета- Specified by:
shouldHaveStatusColorin interfaceDropDown.DropDownItem- Parameters:
color- ожидаемый цвет
-
shouldBeEnabled
public void shouldBeEnabled()Description copied from interface:DropDown.DropDownItemПроверка доступности для выбора- Specified by:
shouldBeEnabledin interfaceDropDown.DropDownItem
-
shouldBeDisabled
public void shouldBeDisabled()Description copied from interface:DropDown.DropDownItemПроверка недоступности для выбора- Specified by:
shouldBeDisabledin interfaceDropDown.DropDownItem
-