Class N2oScrollspyRegion
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.region.N2oRegion
net.n2oapp.framework.autotest.impl.component.region.N2oScrollspyRegion
- All Implemented Interfaces:
Component,Element,Region,ScrollspyRegion
Регион с отслеживанием прокрутки для автотестирования
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.region.ScrollspyRegion
ScrollspyRegion.ContentItem, ScrollspyRegion.DropdownMenuItem, ScrollspyRegion.GroupItem, ScrollspyRegion.Menu, ScrollspyRegion.MenuItem, ScrollspyRegion.MenuPositionEnum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactiveContentItemShouldHaveTitle(String title, Duration... duration) Проверка соответствия заголовка у активного элементаvoidactiveMenuItemShouldHaveTitle(String title, Duration... duration) Проверка соответствия заголовка у активного элемента менюcontentItem(int index) Возвращает содержание (Виджеты/Регионы) страницы по номеруcontentItem(String title) Возвращает содержание (Виджеты/Регионы) страницы по заголовкуprotected com.codeborne.selenide.ElementsCollectionmenu()voidПроверка соответствия позиции элемента менюMethods inherited from class net.n2oapp.framework.autotest.impl.component.region.N2oRegion
firstLevelElementsMethods 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
-
N2oScrollspyRegion
public N2oScrollspyRegion()
-
-
Method Details
-
contentItem
Description copied from interface:ScrollspyRegionВозвращает содержание (Виджеты/Регионы) страницы по номеру- Specified by:
contentItemin interfaceScrollspyRegion- Parameters:
index- номер необходимого блока- Returns:
- Компонент содержащий содержание страницы для автотестирования
-
contentItem
Description copied from interface:ScrollspyRegionВозвращает содержание (Виджеты/Регионы) страницы по заголовку- Specified by:
contentItemin interfaceScrollspyRegion- Parameters:
title- заголовок необходимого блока- Returns:
- Компонент содержащий содержание страницы для автотестирования
-
activeContentItemShouldHaveTitle
Description copied from interface:ScrollspyRegionПроверка соответствия заголовка у активного элемента- Specified by:
activeContentItemShouldHaveTitlein interfaceScrollspyRegion- Parameters:
title- ожидаемый заголовок
-
activeMenuItemShouldHaveTitle
Description copied from interface:ScrollspyRegionПроверка соответствия заголовка у активного элемента меню- Specified by:
activeMenuItemShouldHaveTitlein interfaceScrollspyRegion- Parameters:
title- ожидаемый заголовок
-
contentItems
protected com.codeborne.selenide.ElementsCollection contentItems()
-