From fcc27892a59d4f7a17061a4b55e45b041b1b35dc Mon Sep 17 00:00:00 2001 From: Valery Yatsynovich Date: Wed, 24 Nov 2021 12:33:10 +0300 Subject: [PATCH] [plugin-web-app] Deprecate image steps --- .../src/main/resources/steps/defaults/image.steps | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/vividus-plugin-web-app/src/main/resources/steps/defaults/image.steps b/vividus-plugin-web-app/src/main/resources/steps/defaults/image.steps index 8b620ad941..6cbcbc0688 100644 --- a/vividus-plugin-web-app/src/main/resources/steps/defaults/image.steps +++ b/vividus-plugin-web-app/src/main/resources/steps/defaults/image.steps @@ -1,44 +1,58 @@ Composite: When I hover a mouse over an image with the src '$src' +!-- WARNING: The step "When I hover a mouse over an image with the src '$src'" is deprecated and will be removed in VIVIDUS 0.5.0 When I hover a mouse over an element with the xpath './/img[@src='']' Composite: When I hover a mouse over an image with the tooltip '$tooltipImage' +!-- WARNING: The step "When I hover a mouse over an image with the tooltip '$tooltipImage'" is deprecated and will be removed in VIVIDUS 0.5.0 When I hover a mouse over an element with the xpath './/img[@alt='' or @title='']' Composite: When I click on an image with the src '$src' +!-- WARNING: The step "When I click on an image with the src '$src'" is deprecated and will be removed in VIVIDUS 0.5.0 When I click on an element by the xpath './/img[@src='']' Composite: When I click on an image with the name '$imageName' +!-- WARNING: The step "When I click on an image with the name '$imageName'" is deprecated and will be removed in VIVIDUS 0.5.0 When I click on an element by the xpath './/img[@*='' or text()='']' Composite: Then an image with the src '$src' exists +!-- WARNING: The step "Then an image with the src '$src' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[@src=''])` is equal to `1` Composite: Then a [$state] image with the src '$src' exists +!-- WARNING: The step "Then a [$state] image with the src '$src' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[@src=''])->filter.state()` is equal to `1` Composite: Then an image with the src '$src' does not exist +!-- WARNING: The step "Then an image with the src '$src' does not exist" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[@src=''])` is equal to `0` Composite: Then an image with the src containing '$srcpart' exists +!-- WARNING: The step "Then an image with the src containing '$srcpart' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[contains(@src,'')])` is equal to `1` Composite: Then an image with the tooltip '$tooltip' and src containing '$srcpart' exists Priority: 1 +!-- WARNING: The step "Then an image with the tooltip '$tooltip' and src containing '$srcpart' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[contains(@src,'') and (@alt='' or @title='')])` is equal to `1` Composite: Then an image with the src '$imageSrc' and tooltip '$tooltip' exists Priority: 1 +!-- WARNING: The step "Then an image with the src '$imageSrc' and tooltip '$tooltip' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[@src='' and (@alt='' or @title='')])` is equal to `1` Composite: Then a [$state] image with the src '$imageSrc' and tooltip '$tooltip' exists Priority: 1 +!-- WARNING: The step "Then a [$state] image with the src '$imageSrc' and tooltip '$tooltip' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[@src='' and (@alt='' or @title='')])->filter.state()` is equal to `1` Composite: Then a [$state] image with the src containing '$srcpart' exists +!-- WARNING: The step "Then a [$state] image with the src containing '$srcpart' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[contains(@src,'')])->filter.state()` is equal to `1` Composite: Then a [$state] image with the tooltip '$tooltipImage' exists +!-- WARNING: The step "Then a [$state] image with the tooltip '$tooltipImage' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[@alt='' or @title=''])->filter.state()` is equal to `1` Composite: Then an image with the tooltip '$tooltipImage' exists +!-- WARNING: The step "Then an image with the tooltip '$tooltipImage' exists" is deprecated and will be removed in VIVIDUS 0.5.0 Then number of elements found by `By.xpath(.//img[@alt='' or @title=''])` is equal to `1`