0.6.6 - 2024-01-16
Added
#4709 [vividus-plugin-web-app] Add step to save size and coordinates of an element
New step:
When I save coordinates and size of element located by `$locator` to $scopes variable `$variableName`
#4719 [vividus-plugin-web-app][vividus-plugin-mobile-app] Add context source code dynamic variable
New dynamic variable:
${context-source-code}
provides source code of the current UI context of the application under test.
#4683 [vividus-plugin-web-app-to-rest-api] Support xPath locator in steps validating resources
New steps:
Then all resources found by $htmlLocatorType `$htmlLocator` are valid on:$pages
Then all resources found by $htmlLocatorType `$htmlLocator` in $html are valid
where $htmlLocatorType
is either CSS selector
or XPath
.
#4725 [vividus-plugin-web-app-to-rest-api] Add ability to set seed URL for crawling transformers in parameters
New transformer parameter mainPageUrl
is supported by FROM_SITEMAP
and FROM_HEADLESS_CRAWLING
table transformers. The corresponding properties are:
transformer.from-sitemap.main-page-url
transformer.from-headless-crawling.main-page-url
#4669 (Closes #4663) [vividus-plugin-mobitru] Add ability to disable iOS app resigning on Mobitru
New property (default value is true
):
mobitru.resign-ios-app=true
#4713 [vividus] Add new data providers for #{generate($data-provider-and-its-arguments)}
expression
- 3 new providers
Joke
Joke.knockKnock
Joke.pun
LanguageCode
LanguageCode.iso639
Tire
Tire.aspectRatio
Tire.code
Tire.code
Tire.construction
Tire.loadIndex
Tire.rimSize
Tire.speedrating
Tire.vehicleType
Tire.width
- New data generators in
Aviation
providerAviation.engineType
Aviation.flightStatus
Aviation.gate
Aviation.manufacturer
Aviation.specialTypeDesignator
- New data generators in
Internet
providerInternet.emailSubject
Internet.username
- New data generators in
Name
providerName.femaleFirstName
Name.maleFirstName
Changed
#4707 (Closes #4665) [vividus-plugin-mobile-app] Do not break test on attempt to terminate not running app
Now an attempt to terminate the application which is not running results in the failed step instead of broken one. Having this behaviour users can mark this failure as known issue.
Deprecated
#4612 [vividus-plugin-web-app] Deprecate steps validating script
elements
Deprecated step | Replacement pattern |
---|---|
Then a javascript file with the name '$jsFileName' is included in the source code |
Then number of elements found by `xpath(.//script[contains(@src()='%1$s']):a` is equal to `1` |
Then a javascript with the text '$jsText' is included in the source code |
Then number of elements found by `xpath(.//script[text()='%1$s']):a` is equal to `1` |
Then a javascript with the textpart '$jsTextPart' is included in the source code |
Then number of elements found by `xpath(.//script[contains(text(),'%1$s')]):a` is equal to `1` |
#4709 [vividus-plugin-web-app] Deprecate dynamic variables for context element rectangle
The dynamic variables:
${context-height}
${context-width}
${context-x-coordinate}
${context-y-coordinate}
are deprecated in favour of step:
When I save coordinates and size of element located by `$locator` to $scopes variable `$variableName`
#4719 [vividus-plugin-web-app][vividus-plugin-mobile-app] Deprecate source code dynamic variable
The dynamic variable:
${source-code}
is deprecated in favour of another dynamic variable:
${context-source-code}
#4683 [vividus-plugin-web-app-to-rest-api] Deprecated steps validating resources using cssSelector
only.
Deprecated step | Replacement pattern |
---|---|
Then all resources by selector `$cssSelector` from $html are valid |
Then all resources found by CSS selector `<cssSelector>` in <html> are valid |
Then all resources by selector `$cssSelector` are valid on:$pages |
Then all resources found by CSS selector `<cssSelector>` are valid on:<pages> |
#4725 [vividus-plugin-web-app-to-rest-api] Deprecate ability to set seed URL for crawling transformers via web application main page URL property.
The use of web-application.main-page-url
property for setting of main page for crawling by FROM_SITEMAP
and FROM_HEADLESS_CRAWLING
table transformers is deprecated. mainPageUrl
transformer parameter or corresponding properties transformer.from-sitemap.main-page-url
and transformer.from-headless-crawling.main-page-url
must be used instead.
Fixed
#4682, #4702 (Fixes #4680) [vividus] Fix logging and monitoring of deprecated steps without parameters inside composite steps
NullPointerException
occurred when running a particular composite step inside another composite step is fixed.