All Implemented Interfaces:
Cell, IconCell, Component, Element

public class N2oIconCell extends N2oCell implements IconCell
Ячейка таблицы с иконкой для автотестирования
  • Constructor Details

    • N2oIconCell

      public N2oIconCell()
  • Method Details

    • shouldHaveIcon

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

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

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

      protected com.codeborne.selenide.SelenideElement icon()