All Implemented Interfaces:
Component, Element, Markdown, Snippet

public class N2oMarkdown extends N2oSnippet implements Markdown
  • Constructor Details

    • N2oMarkdown

      public N2oMarkdown()
  • Method Details

    • button

      public StandardButton button(String label)
      Description copied from interface: Markdown
      Возвращает маркдаун-кнопку по метке
      Specified by:
      button in interface Markdown
      Parameters:
      label - метка для поиска
      Returns:
      Стандартная кнопка для автотестирования
    • shouldHaveText

      public void shouldHaveText(String text, Duration... duration)
      Description copied from interface: Snippet
      Проверка текста на соответствие
      Specified by:
      shouldHaveText in interface Snippet
      Parameters:
      text - ожидаемый текст
    • shouldHaveElement

      public void shouldHaveElement(String cssSelector)
      Description copied from interface: Markdown
      Проверка наличия элемента по css селектору
      Specified by:
      shouldHaveElement in interface Markdown
      Parameters:
      cssSelector - css селектр