All Implemented Interfaces:
Cell, LinkCell, Component, Element

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

    • N2oLinkCell

      public N2oLinkCell()
  • Method Details

    • click

      public void click()
      Description copied from interface: LinkCell
      Клик по ячейке
      Specified by:
      click in interface LinkCell
    • shouldHaveHref

      public void shouldHaveHref(String href)
      Description copied from interface: LinkCell
      Проверка того, что ячейка содержит ожидаемую ссылку
      Specified by:
      shouldHaveHref in interface LinkCell
      Parameters:
      href - ожидаемая ссылка
    • shouldHaveText

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

      public void shouldNotHaveText(Duration... duration)
      Description copied from interface: LinkCell
      Проверка того, что ячейка не содержит текста
      Specified by:
      shouldNotHaveText in interface LinkCell