Class N2oScrollspyRegion.N2oMenuItem
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.region.N2oScrollspyRegion.N2oMenuItem
- All Implemented Interfaces:
Component,Element,ScrollspyRegion.MenuItem
- Enclosing class:
- N2oScrollspyRegion
public static class N2oScrollspyRegion.N2oMenuItem
extends N2oComponent
implements ScrollspyRegion.MenuItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclick()Клик по элементуvoidshouldHaveText(String text, Duration... duration) Проверка текста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.Component
should, should, should, shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oMenuItem
public N2oMenuItem(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
shouldHaveText
Description copied from interface:ScrollspyRegion.MenuItemПроверка текста- Specified by:
shouldHaveTextin interfaceScrollspyRegion.MenuItem- Parameters:
text- ожидаемый текст
-
click
public void click()Description copied from interface:ScrollspyRegion.MenuItemКлик по элементу- Specified by:
clickin interfaceScrollspyRegion.MenuItem
-