From 5768e750441ef43f56477c955b852f6ee33bb6f5 Mon Sep 17 00:00:00 2001 From: Natalia Pozhidaeva Date: Tue, 9 Apr 2024 17:40:09 -0500 Subject: [PATCH] #5313 add some comments --- .../java/com/epam/jdi/light/vuetify/asserts/ImageAssert.java | 1 - .../java/com/epam/jdi/light/vuetify/elements/common/Image.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/asserts/ImageAssert.java b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/asserts/ImageAssert.java index 12a43025b7..40fe226eea 100644 --- a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/asserts/ImageAssert.java +++ b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/asserts/ImageAssert.java @@ -18,7 +18,6 @@ public ImageAssert altText(String expectedText) { return this; } - // @todo #5048 Check the meaning of the method @JDIAction(value = "Assert that '{name}' is contain", isAssert = true) public ImageAssert contain() { jdiAssert(element().isContain(), Matchers.is(true), "Image is not contain"); diff --git a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/common/Image.java b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/common/Image.java index 8c543da68a..2bea57d6f0 100644 --- a/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/common/Image.java +++ b/jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/common/Image.java @@ -22,7 +22,7 @@ public String alternateText() { return core().attr("aria-label"); } - @JDIAction("Get if '{name}' is contain") + @JDIAction("Get if '{name}' is contain (save image original ratio)") public boolean isContain() { return image().hasClass("v-image__image--contain"); }