Class N2oSimpleHeader
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.header.N2oSimpleHeader
- All Implemented Interfaces:
Component,Element,SimpleHeader
Шапка(header) для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.ElementsCollectionbrands()extra()nav()protected com.codeborne.selenide.SelenideElementsearch()voidshouldHaveBrandName(String brandName, Duration... duration) Проверка текста у брендаvoidПроверка наличия переключателя(иконки) боковой панели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.Component
should, should, should, shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oSimpleHeader
public N2oSimpleHeader(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
shouldHaveBrandName
Description copied from interface:SimpleHeaderПроверка текста у бренда- Specified by:
shouldHaveBrandNamein interfaceSimpleHeader- Parameters:
brandName- ожидаемый текст
-
extra
- Specified by:
extrain interfaceSimpleHeader- Returns:
- Меню для автотестирования
-
search
- Specified by:
searchin interfaceSimpleHeader- Returns:
- Панель поиска в шапке для автотестирования
-
shouldHaveSidebarSwitcher
public void shouldHaveSidebarSwitcher()Description copied from interface:SimpleHeaderПроверка наличия переключателя(иконки) боковой панели- Specified by:
shouldHaveSidebarSwitcherin interfaceSimpleHeader
-
switchSidebar
public void switchSidebar()Description copied from interface:SimpleHeaderКлик по иконки переключателя боковой панели- Specified by:
switchSidebarin interfaceSimpleHeader
-
brands
protected com.codeborne.selenide.ElementsCollection brands()
-