All Implemented Interfaces:
Component, Control, TextArea, Element

public class N2oTextArea extends N2oControl implements TextArea
Поле ввода многострочного текста для автотестирования
  • Constructor Details

    • N2oTextArea

      public N2oTextArea()
  • Method Details

    • shouldBeEmpty

      public void shouldBeEmpty()
      Description copied from interface: Control
      Проверка пустоты поля
      Specified by:
      shouldBeEmpty in interface Control
    • getValue

      public String getValue()
      Specified by:
      getValue in interface TextArea
      Returns:
      Значение поля
    • setValue

      public void setValue(String value)
      Description copied from interface: TextArea
      Установка значения в поле
      Specified by:
      setValue in interface TextArea
      Parameters:
      value - устанавливаемое значение
    • shouldHaveValue

      public void shouldHaveValue(String value, Duration... duration)
      Description copied from interface: Control
      Проверка значения в поле
      Specified by:
      shouldHaveValue in interface Control
      Parameters:
      value - ожидаемое значение
    • shouldHavePlaceholder

      public void shouldHavePlaceholder(String value)
      Description copied from interface: TextArea
      Проверка соответствия текста подсказки у поля ввода
      Specified by:
      shouldHavePlaceholder in interface TextArea
      Parameters:
      value - ожидаемый текст