All Implemented Interfaces:
Cell, Component, Element
Direct Known Subclasses:
N2oBadgeCell, N2oCheckboxCell, N2oEditCell, N2oFileUploadCell, N2oIconCell, N2oImageCell, N2oLinkCell, N2oListCell, N2oProgressBarCell, N2oRadioCell, N2oRatingCell, N2oTextCell, N2oToolbarCell, N2oTooltipListCell

public class N2oCell extends N2oComponent implements Cell
Ячейка списковых виджетов (table, list) для автотестирования
  • Constructor Details

    • N2oCell

      public N2oCell()
  • Method Details

    • shouldBeEmpty

      public void shouldBeEmpty(Duration... duration)
      Description copied from interface: Cell
      Проверка того, что ячейка пустая
      Specified by:
      shouldBeEmpty in interface Cell
    • shouldBeExpandable

      public void shouldBeExpandable()
      Description copied from interface: Cell
      Проверка того, что ячейка раскрываемая
      Specified by:
      shouldBeExpandable in interface Cell
    • shouldNotBeExpandable

      public void shouldNotBeExpandable()
      Description copied from interface: Cell
      Проверка того, что ячейка не раскрываемая
      Specified by:
      shouldNotBeExpandable in interface Cell
    • shouldBeExpanded

      public void shouldBeExpanded()
      Description copied from interface: Cell
      Проверка того, что ячейка раскрыта
      Specified by:
      shouldBeExpanded in interface Cell
    • shouldBeCollapsed

      public void shouldBeCollapsed()
      Description copied from interface: Cell
      Проверка того, что ячейка не раскрыта
      Specified by:
      shouldBeCollapsed in interface Cell
    • expand

      public void expand()
      Description copied from interface: Cell
      Раскрыть/скрыть ячейку
      Specified by:
      expand in interface Cell
    • shouldHaveIcon

      public void shouldHaveIcon(String icon)
      Description copied from interface: Cell
      Провека иконки ячейки на соответствие ожидаемому
      Specified by:
      shouldHaveIcon in interface Cell
      Parameters:
      icon - ожидаемое значение иконки
    • shouldNotHaveIcon

      public void shouldNotHaveIcon()
      Description copied from interface: Cell
      Проверка того, что ячейка не содержит иконку
      Specified by:
      shouldNotHaveIcon in interface Cell
    • expandIcon

      protected com.codeborne.selenide.SelenideElement expandIcon()
    • shouldHaveAlignment

      public void shouldHaveAlignment(String alignment)
      Description copied from interface: Cell
      Проверка выравнивания ячейки
      Specified by:
      shouldHaveAlignment in interface Cell
      Parameters:
      alignment - ожидаемое выравнивание
    • tooltip

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

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