Class N2oProgress
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.control.N2oControl
net.n2oapp.framework.autotest.impl.component.control.N2oProgress
Компонент отображения прогресса для автотестирования
-
Field Summary
Fields inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
INPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementvoidПроверка того, что поле анимированноеvoidПроверка пустоты поляvoidПроверка того, что поле с полоскамиvoidshouldHaveColor(Colors color) Проверка соответствия цвета поляvoidshouldHaveMax(String max) Проверка соответствия максимального значенияvoidshouldHaveText(String text) Проверка соответствия текстаvoidshouldHaveValue(String value, Duration... duration) Проверка значения в полеMethods inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
shouldBeDisabled, shouldBeEnabledMethods 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.control.Control
shouldBeDisabled, shouldBeEnabledMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oProgress
public N2oProgress()
-
-
Method Details
-
shouldBeEmpty
public void shouldBeEmpty()Description copied from interface:ControlПроверка пустоты поля- Specified by:
shouldBeEmptyin interfaceControl
-
shouldHaveValue
Description copied from interface:ControlПроверка значения в поле- Specified by:
shouldHaveValuein interfaceControl- Parameters:
value- ожидаемое значение
-
shouldHaveText
Description copied from interface:ProgressПроверка соответствия текста- Specified by:
shouldHaveTextin interfaceProgress- Parameters:
text- ожидаемый текст
-
shouldHaveMax
Description copied from interface:ProgressПроверка соответствия максимального значения- Specified by:
shouldHaveMaxin interfaceProgress- Parameters:
max- ожидаемое максимальное значение
-
shouldBeAnimated
public void shouldBeAnimated()Description copied from interface:ProgressПроверка того, что поле анимированное- Specified by:
shouldBeAnimatedin interfaceProgress
-
shouldBeStriped
public void shouldBeStriped()Description copied from interface:ProgressПроверка того, что поле с полосками- Specified by:
shouldBeStripedin interfaceProgress
-
shouldHaveColor
Description copied from interface:ProgressПроверка соответствия цвета поля- Specified by:
shouldHaveColorin interfaceProgress- Parameters:
color- ожидаемый цвет поля
-
progressBar
protected com.codeborne.selenide.SelenideElement progressBar()
-