Class N2oPage.N2oBreadcrumb.N2oCrumb
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.page.N2oPage.N2oBreadcrumb.N2oCrumb
- All Implemented Interfaces:
Component,Element,Page.Breadcrumb.Crumb
- Enclosing class:
N2oPage.N2oBreadcrumb
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementvoidclick()Клик по хлебной крошке для перехода по ссылкеvoidshouldHaveLabel(String text, Duration... duration) Проверка заголовка на соответствиеvoidshouldHaveLink(String link) Проверка ссылки на соответствие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, shouldMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oCrumb
public N2oCrumb(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
click
public void click()Description copied from interface:Page.Breadcrumb.CrumbКлик по хлебной крошке для перехода по ссылке- Specified by:
clickin interfacePage.Breadcrumb.Crumb
-
shouldHaveLabel
Description copied from interface:Page.Breadcrumb.CrumbПроверка заголовка на соответствие- Specified by:
shouldHaveLabelin interfacePage.Breadcrumb.Crumb- Parameters:
text- ожидаемый текст заголовка
-
shouldHaveLink
Description copied from interface:Page.Breadcrumb.CrumbПроверка ссылки на соответствие- Specified by:
shouldHaveLinkin interfacePage.Breadcrumb.Crumb- Parameters:
link- ожидаемая ссылка
-
shouldNotHaveLink
public void shouldNotHaveLink()Description copied from interface:Page.Breadcrumb.CrumbПроверка отсутствия ссылки у крошки- Specified by:
shouldNotHaveLinkin interfacePage.Breadcrumb.Crumb
-
breadcrumbLink
protected com.codeborne.selenide.SelenideElement breadcrumbLink()
-