Class N2oChartWidget
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.widget.N2oWidget
net.n2oapp.framework.autotest.impl.component.widget.chart.N2oChartWidget
- All Implemented Interfaces:
Component,Element,ChartWidget,Widget
- Direct Known Subclasses:
N2oAreaChartWidget
Реализация виджета диаграмма для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementchart()voidshouldHaveHeight(int height) Проверка высоты виджетаvoidshouldHaveWidth(int width) Проверка ширины виджета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
-
N2oChartWidget
public N2oChartWidget()
-
-
Method Details
-
shouldHaveWidth
public void shouldHaveWidth(int width) Description copied from interface:ChartWidgetПроверка ширины виджета- Specified by:
shouldHaveWidthin interfaceChartWidget- Parameters:
width- ожидаемая ширина виджета
-
shouldHaveHeight
public void shouldHaveHeight(int height) Description copied from interface:ChartWidgetПроверка высоты виджета- Specified by:
shouldHaveHeightin interfaceChartWidget- Parameters:
height- ожидаемая высота виджета
-
chart
protected com.codeborne.selenide.SelenideElement chart()
-