Class N2oCodeEditor
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.N2oCodeEditor
- All Implemented Interfaces:
Component,CodeEditor,Control,Element
Компонент редактирования кода для автотестирования
-
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.ElementsCollectionlines()voidУстановка значения в полеvoidПроверка недоступности поляvoidПроверка пустоты поляvoidshouldHaveLines(int lines) Проверка количества видимых и не видимых линийvoidshouldHaveRowsInLine(int rows, int line) Проверка количества строк в линииvoidshouldHaveValue(String value, int line, Duration... duration) Проверка значения в линииvoidshouldHaveValue(String value, Duration... duration) Проверка значения в полеMethods inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
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
shouldBeEnabledMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oCodeEditor
public N2oCodeEditor()
-
-
Method Details
-
shouldBeEmpty
public void shouldBeEmpty()Description copied from interface:ControlПроверка пустоты поля- Specified by:
shouldBeEmptyin interfaceControl
-
setValue
Description copied from interface:CodeEditorУстановка значения в поле- Specified by:
setValuein interfaceCodeEditor- Parameters:
value- устанавливаемое значение
-
shouldHaveValue
Description copied from interface:ControlПроверка значения в поле- Specified by:
shouldHaveValuein interfaceControl- Parameters:
value- ожидаемое значение
-
shouldHaveValue
Description copied from interface:CodeEditorПроверка значения в линии- Specified by:
shouldHaveValuein interfaceCodeEditor- Parameters:
value- ожидаемое значениеline- номер проверяемой линии
-
shouldHaveLines
public void shouldHaveLines(int lines) Description copied from interface:CodeEditorПроверка количества видимых и не видимых линий- Specified by:
shouldHaveLinesin interfaceCodeEditor- Parameters:
lines- - ожидаемое количество линий
-
shouldHaveRowsInLine
public void shouldHaveRowsInLine(int rows, int line) Description copied from interface:CodeEditorПроверка количества строк в линии- Specified by:
shouldHaveRowsInLinein interfaceCodeEditor- Parameters:
rows- - ожидаемое количество строк в линииline- - номер проверяемой строки
-
shouldBeDisabled
public void shouldBeDisabled()Description copied from interface:ControlПроверка недоступности поля- Specified by:
shouldBeDisabledin interfaceControl- Overrides:
shouldBeDisabledin classN2oControl
-
lines
protected com.codeborne.selenide.ElementsCollection lines()
-