Class N2oListCell
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.cell.N2oCell
net.n2oapp.framework.autotest.impl.component.cell.N2oListCell
Ячейка таблицы со списком для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.ElementsCollectionbadges()protected com.codeborne.selenide.SelenideElementprotected com.codeborne.selenide.SelenideElementprotected com.codeborne.selenide.SelenideElementvoidexpand()Раскрыть/скрыть ячейкуprotected com.codeborne.selenide.ElementsCollectionprotected com.codeborne.selenide.ElementsCollectionprotected com.codeborne.selenide.ElementsCollectionvoidПроверка того, что ячейка раскрываемаяvoidПроверяет, что элементы находятся в одной строкеvoidshouldHaveHref(int index, String href) Проверка того, что ячейка содержит ожидаемую ссылкуvoidshouldHaveInnerBadge(int index, String val, Duration... duration) Проверяет наличие ячейки badgevoidshouldHaveInnerBadgesSize(int size) Проверяет количество ячеек badgevoidshouldHaveInnerLink(int index, String val, Duration... duration) Проверяет наличие ячейки linkvoidshouldHaveInnerLinksSize(int size) Проверяет количество ячеек linkvoidshouldHaveInnerText(int index, String val, Duration... duration) Проверяет наличие ячейки textvoidshouldHaveSeparator(String val, Duration... duration) Проверяет разделительvoidshouldHaveSize(int size) Проверяет количество баджей(Badge) в ячейкеvoidshouldHaveText(int index, String val, Duration... duration) Проверяет текст в бадже(Badge)voidПроверка того, что ячейка не раскрываемаяvoidПроверяет, что элементы не находятся в одной строкеMethods inherited from class net.n2oapp.framework.autotest.impl.component.cell.N2oCell
expandIcon, hover, shouldBeCollapsed, shouldBeEmpty, shouldBeExpanded, shouldHaveAlignment, shouldHaveIcon, shouldNotHaveIcon, tooltipMethods inherited from class net.n2oapp.framework.autotest.impl.component.N2oComponent
shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from class net.n2oapp.framework.autotest.impl.component.N2oElement
element, setElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.n2oapp.framework.autotest.api.component.cell.Cell
hover, shouldBeCollapsed, shouldBeEmpty, shouldBeExpanded, shouldHaveAlignment, shouldHaveIcon, shouldNotHaveIcon, tooltipMethods inherited from interface net.n2oapp.framework.autotest.api.component.Component
should, should, should, shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oListCell
public N2oListCell()
-
-
Method Details
-
shouldHaveSize
public void shouldHaveSize(int size) Description copied from interface:ListCellПроверяет количество баджей(Badge) в ячейке- Specified by:
shouldHaveSizein interfaceListCell- Parameters:
size- ожидаемое количество баджей
-
shouldHaveInnerLinksSize
public void shouldHaveInnerLinksSize(int size) Description copied from interface:ListCellПроверяет количество ячеек link- Specified by:
shouldHaveInnerLinksSizein interfaceListCell- Parameters:
size- ожидаемое количество ячеек link
-
shouldHaveInnerBadgesSize
public void shouldHaveInnerBadgesSize(int size) Description copied from interface:ListCellПроверяет количество ячеек badge- Specified by:
shouldHaveInnerBadgesSizein interfaceListCell- Parameters:
size- ожидаемое количество ячеек badge
-
shouldHaveText
Description copied from interface:ListCellПроверяет текст в бадже(Badge)- Specified by:
shouldHaveTextin interfaceListCell- Parameters:
index- номер проверяемого баджа в ячейкеval- ожидаемый текст баджа
-
shouldNotBeExpandable
public void shouldNotBeExpandable()Description copied from interface:CellПроверка того, что ячейка не раскрываемая- Specified by:
shouldNotBeExpandablein interfaceCell- Overrides:
shouldNotBeExpandablein classN2oCell
-
shouldBeExpandable
public void shouldBeExpandable()Description copied from interface:CellПроверка того, что ячейка раскрываемая- Specified by:
shouldBeExpandablein interfaceCell- Overrides:
shouldBeExpandablein classN2oCell
-
expand
public void expand()Description copied from interface:CellРаскрыть/скрыть ячейку -
shouldHaveInnerText
Description copied from interface:ListCellПроверяет наличие ячейки text- Specified by:
shouldHaveInnerTextin interfaceListCell- Parameters:
index- номер проверяемой ячейки textval- ожидаемый текст ячейки text
-
shouldHaveInnerLink
Description copied from interface:ListCellПроверяет наличие ячейки link- Specified by:
shouldHaveInnerLinkin interfaceListCell- Parameters:
index- номер проверяемой ячейки linkval- ожидаемый текст ячейки link
-
shouldHaveInnerBadge
Description copied from interface:ListCellПроверяет наличие ячейки badge- Specified by:
shouldHaveInnerBadgein interfaceListCell- Parameters:
index- номер проверяемой ячейки badgeval- ожидаемый текст ячейки badge
-
shouldHaveSeparator
Description copied from interface:ListCellПроверяет разделитель- Specified by:
shouldHaveSeparatorin interfaceListCell- Parameters:
val- ожидаемый разделитель
-
shouldBeInline
public void shouldBeInline()Description copied from interface:ListCellПроверяет, что элементы находятся в одной строке- Specified by:
shouldBeInlinein interfaceListCell
-
shouldNotBeInline
public void shouldNotBeInline()Description copied from interface:ListCellПроверяет, что элементы не находятся в одной строке- Specified by:
shouldNotBeInlinein interfaceListCell
-
shouldHaveHref
Description copied from interface:ListCellПроверка того, что ячейка содержит ожидаемую ссылку- Specified by:
shouldHaveHrefin interfaceListCell- Parameters:
href- ожидаемая ссылка
-
badges
protected com.codeborne.selenide.ElementsCollection badges() -
cellControl
protected com.codeborne.selenide.SelenideElement cellControl() -
cellContent
protected com.codeborne.selenide.SelenideElement cellContent() -
cellContentInline
protected com.codeborne.selenide.SelenideElement cellContentInline() -
innerTexts
protected com.codeborne.selenide.ElementsCollection innerTexts() -
innerLinks
protected com.codeborne.selenide.ElementsCollection innerLinks() -
innerBadges
protected com.codeborne.selenide.ElementsCollection innerBadges()
-