Class N2oLineRegion
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.N2oLineRegion
- All Implemented Interfaces:
Component,Element,Expandable,LineRegion,Region
Регион с горизонтальным делителем для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollapse()Скрытие выпадающего спискаcontent()voidexpand()Раскрытие выпадающего спискаprotected com.codeborne.selenide.SelenideElementheader()protected com.codeborne.selenide.SelenideElementitem()voidПроверка того, что выпадающий список скрытvoidПроверка, что регион скрываемvoidПроверка того, что выпадающий список раскрытvoidshouldHaveLabel(String title, Duration... duration) Проверка заголовка региона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
-
N2oLineRegion
public N2oLineRegion()
-
-
Method Details
-
content
- Specified by:
contentin interfaceLineRegion- Returns:
- Элемент региона (виджет/регион) для автотестирования
-
content
- Specified by:
contentin interfaceLineRegion- Parameters:
className- имя класса, по которому будет производиться поиск элементов региона.- Returns:
- Элемент региона (виджет/регион), соответствующий указанному классу
-
shouldBeCollapsible
public void shouldBeCollapsible()Description copied from interface:LineRegionПроверка, что регион скрываем- Specified by:
shouldBeCollapsiblein interfaceLineRegion
-
shouldNotBeCollapsible
public void shouldNotBeCollapsible()Description copied from interface:LineRegionПроверка, что регион не скрываем- Specified by:
shouldNotBeCollapsiblein interfaceLineRegion
-
shouldHaveLabel
Description copied from interface:LineRegionПроверка заголовка региона- Specified by:
shouldHaveLabelin interfaceLineRegion- Parameters:
title- ожидаемый заголовок
-
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
-
header
protected com.codeborne.selenide.SelenideElement header() -
item
protected com.codeborne.selenide.SelenideElement item()
-