Class N2oPage.N2oPopover
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.N2oPopover
- All Implemented Interfaces:
Component,Element,Page.Popover
- Enclosing class:
- N2oPage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbutton(int index) Возвращает кнопку по индексуВозвращает кнопку соответствующую меткеvoidshouldBeClosed(Duration... duration) Проверка закрытия поповераvoidshouldHaveText(String text, 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, shouldMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElementMethods inherited from interface net.n2oapp.framework.autotest.api.component.page.Page.Popover
shouldBeVisible
-
Constructor Details
-
N2oPopover
public N2oPopover(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
shouldHaveText
Description copied from interface:Page.PopoverПроверка заголовка на соответствие- Specified by:
shouldHaveTextin interfacePage.Popover- Parameters:
text- ожидаемый заголовок
-
button
Description copied from interface:Page.PopoverВозвращает кнопку соответствующую метке- Specified by:
buttonin interfacePage.Popover- Parameters:
label- метка кнопки
-
button
Description copied from interface:Page.PopoverВозвращает кнопку по индексу- Specified by:
buttonin interfacePage.Popover- Parameters:
index- индекс кнопки
-
shouldBeClosed
Description copied from interface:Page.PopoverПроверка закрытия поповера- Specified by:
shouldBeClosedin interfacePage.Popover
-