All Implemented Interfaces:
Cell, ImageCell, Component, Element

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

    • N2oImageCell

      public N2oImageCell()
  • Method Details

    • shouldHaveSrc

      public void shouldHaveSrc(String src)
      Description copied from interface: ImageCell
      Проверка того, что ячейка содержит ожидаемый путь к источнику изображения
      Specified by:
      shouldHaveSrc in interface ImageCell
      Parameters:
      src - ожидаемый путь к источнику изображения
    • shouldHaveWidth

      public void shouldHaveWidth(int width)
      Description copied from interface: ImageCell
      Проверка ширины ячейки на соответствие ожидаемому значению
      Specified by:
      shouldHaveWidth in interface ImageCell
      Parameters:
      width - ожидаемая ширина ячейки
    • shouldHaveShape

      public void shouldHaveShape(net.n2oapp.framework.api.metadata.global.view.widget.table.ShapeTypeEnum shape)
      Description copied from interface: ImageCell
      Проверка формы ячейки на соответствие ожидаемому значению
      Specified by:
      shouldHaveShape in interface ImageCell
      Parameters:
      shape - ожидаемая форма ячейки
    • shouldHaveTitle

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

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

      public void shouldHaveTextPosition(net.n2oapp.framework.api.metadata.meta.control.TextPositionEnum textPosition)
      Description copied from interface: ImageCell
      Проверка позиции текста ячейки на соответствие ожидаемому значению
      Specified by:
      shouldHaveTextPosition in interface ImageCell
      Parameters:
      textPosition - ожидаемая позиция текста в ячейке
    • shouldHaveStatus

      public void shouldHaveStatus(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index, String title, Duration... duration)
      Description copied from interface: ImageCell
      Проверка заголовка статуса на соответствие ожидаемому значению
      Specified by:
      shouldHaveStatus in interface ImageCell
      Parameters:
      position - позиция заголовка статуса
      index - номер заголовка статуса
      title - ожидаемое значение заголовка статуса
    • statusShouldHaveIcon

      public void statusShouldHaveIcon(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index, String icon)
      Description copied from interface: ImageCell
      Проверка иконки статуса на соответствие ожидаемому значению
      Specified by:
      statusShouldHaveIcon in interface ImageCell
      Parameters:
      position - позиция иконки статуса
      index - номер иконки статуса
      icon - ожидаемое значение иконки статуса
    • getStatus

      protected com.codeborne.selenide.SelenideElement getStatus(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index)
    • img

      protected com.codeborne.selenide.SelenideElement img()