All Implemented Interfaces:
Badge, BadgeCell, Cell, Component, Element

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

    • N2oBadgeCell

      public N2oBadgeCell()
  • Method Details

    • shouldHaveColor

      public void shouldHaveColor(Colors color)
      Description copied from interface: BadgeCell
      Проверка цвета ячейки на соответствие ожидаемому
      Specified by:
      shouldHaveColor in interface BadgeCell
      Parameters:
      color - ожидаемый цвет ячейки
    • badgeShouldHaveText

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

      public void badgeShouldHavePosition(BadgePosition position)
      Description copied from interface: Badge
      Проверка позиции баджа на соответствие ожидаемой позиции
      Specified by:
      badgeShouldHavePosition in interface Badge
      Parameters:
      position - ожидаемая позиция баджа