All Implemented Interfaces:
Cell, ListCell, Component, Element

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

    • N2oListCell

      public N2oListCell()
  • Method Details

    • shouldHaveSize

      public void shouldHaveSize(int size)
      Description copied from interface: ListCell
      Проверяет количество баджей(Badge) в ячейке
      Specified by:
      shouldHaveSize in interface ListCell
      Parameters:
      size - ожидаемое количество баджей
    • shouldHaveInnerLinksSize

      public void shouldHaveInnerLinksSize(int size)
      Description copied from interface: ListCell
      Проверяет количество ячеек link
      Specified by:
      shouldHaveInnerLinksSize in interface ListCell
      Parameters:
      size - ожидаемое количество ячеек link
    • shouldHaveInnerBadgesSize

      public void shouldHaveInnerBadgesSize(int size)
      Description copied from interface: ListCell
      Проверяет количество ячеек badge
      Specified by:
      shouldHaveInnerBadgesSize in interface ListCell
      Parameters:
      size - ожидаемое количество ячеек badge
    • shouldHaveText

      public void shouldHaveText(int index, String val, Duration... duration)
      Description copied from interface: ListCell
      Проверяет текст в бадже(Badge)
      Specified by:
      shouldHaveText in interface ListCell
      Parameters:
      index - номер проверяемого баджа в ячейке
      val - ожидаемый текст баджа
    • shouldNotBeExpandable

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

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

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

      public void shouldHaveInnerText(int index, String val, Duration... duration)
      Description copied from interface: ListCell
      Проверяет наличие ячейки text
      Specified by:
      shouldHaveInnerText in interface ListCell
      Parameters:
      index - номер проверяемой ячейки text
      val - ожидаемый текст ячейки text
    • shouldHaveInnerLink

      public void shouldHaveInnerLink(int index, String val, Duration... duration)
      Description copied from interface: ListCell
      Проверяет наличие ячейки link
      Specified by:
      shouldHaveInnerLink in interface ListCell
      Parameters:
      index - номер проверяемой ячейки link
      val - ожидаемый текст ячейки link
    • shouldHaveInnerBadge

      public void shouldHaveInnerBadge(int index, String val, Duration... duration)
      Description copied from interface: ListCell
      Проверяет наличие ячейки badge
      Specified by:
      shouldHaveInnerBadge in interface ListCell
      Parameters:
      index - номер проверяемой ячейки badge
      val - ожидаемый текст ячейки badge
    • shouldHaveSeparator

      public void shouldHaveSeparator(String val, Duration... duration)
      Description copied from interface: ListCell
      Проверяет разделитель
      Specified by:
      shouldHaveSeparator in interface ListCell
      Parameters:
      val - ожидаемый разделитель
    • shouldBeInline

      public void shouldBeInline()
      Description copied from interface: ListCell
      Проверяет, что элементы находятся в одной строке
      Specified by:
      shouldBeInline in interface ListCell
    • shouldNotBeInline

      public void shouldNotBeInline()
      Description copied from interface: ListCell
      Проверяет, что элементы не находятся в одной строке
      Specified by:
      shouldNotBeInline in interface ListCell
    • shouldHaveHref

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

      protected com.codeborne.selenide.ElementsCollection badges()
    • cellControl

      protected com.codeborne.selenide.SelenideElement cellControl()
    • cellContent

      protected com.codeborne.selenide.SelenideElement cellContent()
    • cellContentInline

      protected com.codeborne.selenide.SelenideElement cellContentInline()
    • innerTexts

      protected com.codeborne.selenide.ElementsCollection innerTexts()
    • innerLinks

      protected com.codeborne.selenide.ElementsCollection innerLinks()
    • innerBadges

      protected com.codeborne.selenide.ElementsCollection innerBadges()