Class N2oScrollspyRegion.N2oGroupItem
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.N2oMenu
net.n2oapp.framework.autotest.impl.component.region.N2oScrollspyRegion.N2oGroupItem
- All Implemented Interfaces:
Component,Element,ScrollspyRegion.GroupItem,ScrollspyRegion.Menu
- Enclosing class:
- N2oScrollspyRegion
public static class N2oScrollspyRegion.N2oGroupItem
extends N2oScrollspyRegion.N2oMenu
implements ScrollspyRegion.GroupItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidПроверка наличия разделительной линииvoidshouldHaveTitle(String text, Duration... duration) Проверка заголовка меню на соответствиеvoidПроверка отсутствия разделительной линииMethods inherited from class net.n2oapp.framework.autotest.impl.component.region.N2oScrollspyRegion.N2oMenu
dropdownItems, dropdownMenuItem, dropdownMenuItem, group, group, groups, menuItem, menuItem, menuItemsMethods 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, setElementMethods inherited from interface net.n2oapp.framework.autotest.api.component.region.ScrollspyRegion.Menu
dropdownMenuItem, dropdownMenuItem, group, group, menuItem, menuItem
-
Constructor Details
-
N2oGroupItem
public N2oGroupItem(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
shouldHaveTitle
Description copied from interface:ScrollspyRegion.MenuПроверка заголовка меню на соответствие- Specified by:
shouldHaveTitlein interfaceScrollspyRegion.Menu- Overrides:
shouldHaveTitlein classN2oScrollspyRegion.N2oMenu- Parameters:
text- ожидаемый заголовок меню
-
shouldHaveHeadline
public void shouldHaveHeadline()Description copied from interface:ScrollspyRegion.GroupItemПроверка наличия разделительной линии- Specified by:
shouldHaveHeadlinein interfaceScrollspyRegion.GroupItem
-
shouldNotHaveHeadline
public void shouldNotHaveHeadline()Description copied from interface:ScrollspyRegion.GroupItemПроверка отсутствия разделительной линии- Specified by:
shouldNotHaveHeadlinein interfaceScrollspyRegion.GroupItem
-