java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.widget.calendar.view.N2oCalendarAgendaView
All Implemented Interfaces:
Component, Element, CalendarAgendaView

public class N2oCalendarAgendaView extends N2oComponent implements CalendarAgendaView
Вид отображения календаря 'Повестка дня' для автотестирования
  • Constructor Details

    • N2oCalendarAgendaView

      public N2oCalendarAgendaView()
  • Method Details

    • shouldHaveSize

      public void shouldHaveSize(int size)
      Description copied from interface: CalendarAgendaView
      Проверка количества строк в календаре
      Specified by:
      shouldHaveSize in interface CalendarAgendaView
      Parameters:
      size - ожидаемое количество строк
    • eventShouldHaveDate

      public void eventShouldHaveDate(int index, String date, Duration... duration)
      Description copied from interface: CalendarAgendaView
      Проверка наличия события в ячейке даты по индексу
      Specified by:
      eventShouldHaveDate in interface CalendarAgendaView
      Parameters:
      index - проверяемая ячейка
      date - ожидаемый текст события
    • eventShouldHaveTime

      public void eventShouldHaveTime(int index, String time, Duration... duration)
      Description copied from interface: CalendarAgendaView
      Проверка наличия события в ячейке времени по индексу
      Specified by:
      eventShouldHaveTime in interface CalendarAgendaView
      Parameters:
      index - проверяемая ячейка
      time - ожидаемый текст события
    • eventShouldHaveName

      public void eventShouldHaveName(int index, String name, Duration... duration)
      Description copied from interface: CalendarAgendaView
      Проверка наименования события в ячейке по индексу
      Specified by:
      eventShouldHaveName in interface CalendarAgendaView
      Parameters:
      index - проверяемая ячейка
      name - ожидаемый текст события
    • rows

      protected com.codeborne.selenide.ElementsCollection rows()
    • dateCell

      protected com.codeborne.selenide.SelenideElement dateCell(int row)
    • timeCell

      protected com.codeborne.selenide.SelenideElement timeCell(int row)
    • eventCell

      protected com.codeborne.selenide.SelenideElement eventCell(int row)