Class N2oStatus
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.snippet.N2oSnippet
net.n2oapp.framework.autotest.impl.component.snippet.N2oStatus
Компонент отображения статуса для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshouldHaveColor(Colors color) Проверка соответствия текстаvoidshouldHaveText(String text, Duration... duration) Проверка текста на соответствиеvoidshouldHaveTextPosition(net.n2oapp.framework.api.metadata.meta.badge.Position position) Проверка соответствия позиции текста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
-
N2oStatus
public N2oStatus()
-
-
Method Details
-
shouldHaveText
Description copied from interface:SnippetПроверка текста на соответствие- Specified by:
shouldHaveTextin interfaceSnippet- Parameters:
text- ожидаемый текст
-
shouldHaveTextPosition
public void shouldHaveTextPosition(net.n2oapp.framework.api.metadata.meta.badge.Position position) Description copied from interface:StatusПроверка соответствия позиции текста- Specified by:
shouldHaveTextPositionin interfaceStatus- Parameters:
position- ожидаемая позиция текста
-
shouldHaveColor
Description copied from interface:StatusПроверка соответствия текста- Specified by:
shouldHaveColorin interfaceStatus- Parameters:
color- ожидаемый цвет
-