Class N2oImageCell
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.N2oImageCell
Ячейка таблицы с изображением для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementgetStatus(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index) protected com.codeborne.selenide.SelenideElementimg()voidshouldHaveDescription(String description, Duration... duration) Проверка описания ячейки на точное соответствие (без учета регистра) ожидаемому значениюvoidshouldHaveShape(net.n2oapp.framework.api.metadata.global.view.widget.table.ShapeTypeEnum shape) Проверка формы ячейки на соответствие ожидаемому значениюvoidshouldHaveSrc(String src) Проверка того, что ячейка содержит ожидаемый путь к источнику изображенияvoidshouldHaveStatus(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index, String title, Duration... duration) Проверка заголовка статуса на соответствие ожидаемому значениюvoidshouldHaveTextPosition(net.n2oapp.framework.api.metadata.meta.control.TextPositionEnum textPosition) Проверка позиции текста ячейки на соответствие ожидаемому значениюvoidshouldHaveTitle(String title, Duration... duration) Проверка заголовка ячейки на точное соответствие (без учета регистра) ожидаемому значениюvoidshouldHaveWidth(int width) Проверка ширины ячейки на соответствие ожидаемому значениюvoidstatusShouldHaveIcon(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index, String icon) Проверка иконки статуса на соответствие ожидаемому значениюMethods inherited from class net.n2oapp.framework.autotest.impl.component.cell.N2oCell
expand, expandIcon, hover, shouldBeCollapsed, shouldBeEmpty, shouldBeExpandable, shouldBeExpanded, shouldHaveAlignment, shouldHaveIcon, shouldNotBeExpandable, 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
expand, hover, shouldBeCollapsed, shouldBeEmpty, shouldBeExpandable, shouldBeExpanded, shouldHaveAlignment, shouldHaveIcon, shouldNotBeExpandable, 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
-
N2oImageCell
public N2oImageCell()
-
-
Method Details
-
shouldHaveSrc
Description copied from interface:ImageCellПроверка того, что ячейка содержит ожидаемый путь к источнику изображения- Specified by:
shouldHaveSrcin interfaceImageCell- Parameters:
src- ожидаемый путь к источнику изображения
-
shouldHaveWidth
public void shouldHaveWidth(int width) Description copied from interface:ImageCellПроверка ширины ячейки на соответствие ожидаемому значению- Specified by:
shouldHaveWidthin interfaceImageCell- Parameters:
width- ожидаемая ширина ячейки
-
shouldHaveShape
public void shouldHaveShape(net.n2oapp.framework.api.metadata.global.view.widget.table.ShapeTypeEnum shape) Description copied from interface:ImageCellПроверка формы ячейки на соответствие ожидаемому значению- Specified by:
shouldHaveShapein interfaceImageCell- Parameters:
shape- ожидаемая форма ячейки
-
shouldHaveTitle
Description copied from interface:ImageCellПроверка заголовка ячейки на точное соответствие (без учета регистра) ожидаемому значению- Specified by:
shouldHaveTitlein interfaceImageCell- Parameters:
title- ожидаемый заголовок ячейки
-
shouldHaveDescription
Description copied from interface:ImageCellПроверка описания ячейки на точное соответствие (без учета регистра) ожидаемому значению- Specified by:
shouldHaveDescriptionin interfaceImageCell- Parameters:
description- ожидаемое описание ячейки
-
shouldHaveTextPosition
public void shouldHaveTextPosition(net.n2oapp.framework.api.metadata.meta.control.TextPositionEnum textPosition) Description copied from interface:ImageCellПроверка позиции текста ячейки на соответствие ожидаемому значению- Specified by:
shouldHaveTextPositionin interfaceImageCell- Parameters:
textPosition- ожидаемая позиция текста в ячейке
-
shouldHaveStatus
public void shouldHaveStatus(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index, String title, Duration... duration) Description copied from interface:ImageCellПроверка заголовка статуса на соответствие ожидаемому значению- Specified by:
shouldHaveStatusin interfaceImageCell- Parameters:
position- позиция заголовка статусаindex- номер заголовка статусаtitle- ожидаемое значение заголовка статуса
-
statusShouldHaveIcon
public void statusShouldHaveIcon(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index, String icon) Description copied from interface:ImageCellПроверка иконки статуса на соответствие ожидаемому значению- Specified by:
statusShouldHaveIconin interfaceImageCell- Parameters:
position- позиция иконки статусаindex- номер иконки статусаicon- ожидаемое значение иконки статуса
-
getStatus
protected com.codeborne.selenide.SelenideElement getStatus(net.n2oapp.framework.api.metadata.meta.cell.ImageStatusElementPlaceEnum position, int index) -
img
protected com.codeborne.selenide.SelenideElement img()
-