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

public class N2oLineRegion extends N2oRegion implements LineRegion
Регион с горизонтальным делителем для автотестирования
  • Constructor Details

    • N2oLineRegion

      public N2oLineRegion()
  • Method Details

    • content

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

      public RegionItems content(String className)
      Specified by:
      content in interface LineRegion
      Parameters:
      className - имя класса, по которому будет производиться поиск элементов региона.
      Returns:
      Элемент региона (виджет/регион), соответствующий указанному классу
    • shouldBeCollapsible

      public void shouldBeCollapsible()
      Description copied from interface: LineRegion
      Проверка, что регион скрываем
      Specified by:
      shouldBeCollapsible in interface LineRegion
    • shouldNotBeCollapsible

      public void shouldNotBeCollapsible()
      Description copied from interface: LineRegion
      Проверка, что регион не скрываем
      Specified by:
      shouldNotBeCollapsible in interface LineRegion
    • shouldHaveLabel

      public void shouldHaveLabel(String title, Duration... duration)
      Description copied from interface: LineRegion
      Проверка заголовка региона
      Specified by:
      shouldHaveLabel in interface LineRegion
      Parameters:
      title - ожидаемый заголовок
    • 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
    • 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
    • header

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

      protected com.codeborne.selenide.SelenideElement item()