Class N2oImage
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.snippet.N2oSnippet
net.n2oapp.framework.autotest.impl.component.snippet.N2oImage
Компонент вывода изображения для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementimage()protected com.codeborne.selenide.SelenideElementvoidshouldHaveDescription(String text, Duration... duration) Проверка описания на соответствиеvoidshouldHaveShape(net.n2oapp.framework.api.metadata.global.view.widget.table.ShapeTypeEnum shape) Проверка формы изображения на соответствиеvoidshouldHaveText(String text, Duration... duration) Проверка текста на соответствиеvoidshouldHaveTextPosition(net.n2oapp.framework.api.metadata.meta.control.TextPositionEnum position) Проверка позиции текста на соответствиеvoidshouldHaveTitle(String text, Duration... duration) Проверка заголовка на соответствиеvoidshouldHaveUrl(String url) Проверка ссылки изображения на соответствиеvoidshouldHaveWidth(int width) Проверка ширины изображения на соответствиеMethods 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.Component
should, should, should, shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oImage
public N2oImage()
-
-
Method Details
-
shouldHaveTitle
Description copied from interface:ImageПроверка заголовка на соответствие- Specified by:
shouldHaveTitlein interfaceImage- Parameters:
text- ожидаемый текст заголовка
-
shouldHaveDescription
Description copied from interface:ImageПроверка описания на соответствие- Specified by:
shouldHaveDescriptionin interfaceImage- Parameters:
text- ожидаемый текст описания
-
shouldHaveShape
public void shouldHaveShape(net.n2oapp.framework.api.metadata.global.view.widget.table.ShapeTypeEnum shape) Description copied from interface:ImageПроверка формы изображения на соответствие- Specified by:
shouldHaveShapein interfaceImage- Parameters:
shape- ожидаемая форма
-
shouldHaveUrl
Description copied from interface:ImageПроверка ссылки изображения на соответствие- Specified by:
shouldHaveUrlin interfaceImage- Parameters:
url- ожидаемая ссылка
-
shouldHaveWidth
public void shouldHaveWidth(int width) Description copied from interface:ImageПроверка ширины изображения на соответствие- Specified by:
shouldHaveWidthin interfaceImage- Parameters:
width- ожидаемая ширина
-
shouldHaveTextPosition
public void shouldHaveTextPosition(net.n2oapp.framework.api.metadata.meta.control.TextPositionEnum position) Description copied from interface:ImageПроверка позиции текста на соответствие- Specified by:
shouldHaveTextPositionin interfaceImage- Parameters:
position- ожидаемая позиция
-
shouldHaveText
Description copied from interface:SnippetПроверка текста на соответствие- Specified by:
shouldHaveTextin interfaceSnippet- Parameters:
text- ожидаемый текст
-
imageInfo
protected com.codeborne.selenide.SelenideElement imageInfo() -
image
protected com.codeborne.selenide.SelenideElement image()
-