Class N2oSearchItem
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.header.N2oSearchItem
- All Implemented Interfaces:
Component,Element,SearchItem
Базовый класс элемента выпадающего списка поиска в шапке для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementnavLink()voidshouldHaveDescription(String description) Проверка описания на соответствиеvoidshouldHaveIcon(String icon) Проверка иконки на соответствиеvoidshouldHaveLink(String url) Проверка ссылки на соответствиеvoidshouldHaveTitle(String title, 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
-
N2oSearchItem
public N2oSearchItem()
-
-
Method Details
-
shouldHaveTitle
Description copied from interface:SearchItemПроверка заголовка на соответствие- Specified by:
shouldHaveTitlein interfaceSearchItem- Parameters:
title- ожидаемый заголовок
-
shouldHaveDescription
Description copied from interface:SearchItemПроверка описания на соответствие- Specified by:
shouldHaveDescriptionin interfaceSearchItem- Parameters:
description- ожидаемое описание
-
shouldHaveLink
Description copied from interface:SearchItemПроверка ссылки на соответствие- Specified by:
shouldHaveLinkin interfaceSearchItem- Parameters:
url- ожидаемое значение ссылки
-
shouldHaveIcon
Description copied from interface:SearchItemПроверка иконки на соответствие- Specified by:
shouldHaveIconin interfaceSearchItem- Parameters:
icon- ожидаемое описание
-