All Implemented Interfaces:
Component, Element, Expandable, PanelRegion, Region

public class N2oPanelRegion extends N2oRegion implements PanelRegion
Регион в виде панели для автотестирования
  • Constructor Details

    • N2oPanelRegion

      public N2oPanelRegion()
  • Method Details

    • content

      public RegionItems content()
      Specified by:
      content in interface PanelRegion
      Returns:
      Элемент региона (виджет/регион) для автотестирования
    • shouldHaveTitle

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

      public void shouldNotHaveTitle()
      Description copied from interface: PanelRegion
      Проверка отсутствия заголовка
      Specified by:
      shouldNotHaveTitle in interface PanelRegion
    • shouldHaveFooterTitle

      public void shouldHaveFooterTitle(String footer, Duration... duration)
      Description copied from interface: PanelRegion
      Проверка заголовка подвала
      Specified by:
      shouldHaveFooterTitle in interface PanelRegion
      Parameters:
      footer - ожидаемый заголовок
    • expand

      public void expand()
      Description copied from interface: Expandable
      Раскрытие выпадающего списка
      Specified by:
      expand in interface Expandable
    • collapse

      public void collapse()
      Description copied from interface: Expandable
      Скрытие выпадающего списка
      Specified by:
      collapse in interface Expandable
    • shouldBeCollapsible

      public void shouldBeCollapsible()
      Description copied from interface: PanelRegion
      Проверка наличия возможности скрыть регион
      Specified by:
      shouldBeCollapsible in interface PanelRegion
    • shouldNotBeCollapsible

      public void shouldNotBeCollapsible()
      Description copied from interface: PanelRegion
      Проверка отсутствия возможности скрыть регион
      Specified by:
      shouldNotBeCollapsible in interface PanelRegion
    • shouldBeExpanded

      public void shouldBeExpanded()
      Description copied from interface: Expandable
      Проверка того, что выпадающий список раскрыт
      Specified by:
      shouldBeExpanded in interface Expandable
    • shouldBeCollapsed

      public void shouldBeCollapsed()
      Description copied from interface: Expandable
      Проверка того, что выпадающий список скрыт
      Specified by:
      shouldBeCollapsed in interface Expandable
    • shouldHaveBorderColor

      public void shouldHaveBorderColor(Colors color)
      Description copied from interface: PanelRegion
      Проверка цвета границы
      Specified by:
      shouldHaveBorderColor in interface PanelRegion
      Parameters:
      color - ожидаемый цвет
    • shouldHaveIcon

      public void shouldHaveIcon(String icon)
      Description copied from interface: PanelRegion
      Проверка иконки
      Specified by:
      shouldHaveIcon in interface PanelRegion
      Parameters:
      icon - ожидаемая иконка
    • collapseToggleBtn

      protected com.codeborne.selenide.SelenideElement collapseToggleBtn()
    • header

      protected com.codeborne.selenide.SelenideElement header()