All Implemented Interfaces:
Cell, TextCell, Component, Element

public class N2oTextCell extends N2oCell implements TextCell
Ячейка с текстом для автотестирования
  • Constructor Details

    • N2oTextCell

      public N2oTextCell()
  • Method Details

    • shouldHaveText

      public void shouldHaveText(String text, Duration... duration)
      Description copied from interface: TextCell
      Проверка точного соответствия (без учета регистра) текста
      Specified by:
      shouldHaveText in interface TextCell
      Parameters:
      text - ожидаемый текст
    • shouldHaveSubText

      public void shouldHaveSubText(String[] text, Duration... duration)
      Description copied from interface: TextCell
      Проверка соответствия подтекста
      Specified by:
      shouldHaveSubText in interface TextCell
      Parameters:
      text - ожидаемый подтекст
    • shouldHaveIconPosition

      public void shouldHaveIconPosition(net.n2oapp.framework.api.metadata.meta.badge.PositionEnum position)
      Description copied from interface: TextCell
      Проверка существования иконки и соответствия ее позиции
      Specified by:
      shouldHaveIconPosition in interface TextCell
      Parameters:
      position - ожидаемая позиция иконки
    • hover

      public void hover()
      Description copied from interface: Cell
      Наведение мыши на ячейку
      Specified by:
      hover in interface Cell
      Overrides:
      hover in class N2oCell
    • tooltip

      public Tooltip tooltip()
      Description copied from interface: Cell
      Возвращает тултип ячейки
      Specified by:
      tooltip in interface Cell
      Overrides:
      tooltip in class N2oCell
      Returns:
      Тултип для автотестирования