Skip to content

0.6.14 - 2024-12-04

Latest
Compare
Choose a tag to compare
@valfirst valfirst released this 30 Dec 15:05
· 67 commits to master since this release
release-0.6.14
cd20dad

Added

#5285 [vividus] Add LEFT_JOIN table transformer

The LEFT_JOIN transformer combines all rows from the left table with matching rows from the right table, and includes rows from the left table even if there are no matches in the right table.

#5528 [vividus] Add transformer to resolve variables eagerly

New transformer: RESOLVING_VARIABLES_EAGERLY

#5327 [vividus] Add ability to set start index for INDEXING transformer

startIndex parameters can be used to define the start index, negative integer numbers are allowed.

#5373 [vividus] Add ability to define custom report title

New property

report.title=VIVIDUS Report

is used to provide a title to display on Summary widget of Overview tab. Also it is used as HTML title of the document.

#5376, #5379 [vividus] Add ability to specify custom translations for report

report.translations.<lang>.<translation key>

This family of properties allows overriding text values in report controls, such as labels, buttons, etc. These values
represent translations for the chosen language.

#5423 [vividus] Add ability to configure report layout

Now certain report tabs, widgets and charts can be hidden in the report using the corresponding properties.

#5488 [vividus] Add ability to customize report logo and title

New properties:

report.brand.logo-path=/customer-data/logo-icon.svg
report.brand.title=MY BRAND

#5387 [vividus] Add feature allowing to report custom metadata publicly available

It is allowed to add metadata to be displayed in the report and the output logs. There are 2 types of metadata configuration: static and dynamic.

#5506 [vividus] Add ability to customize tab with defect categories

It is possible to customize the names of categories in the report, as well as the statuses of tests that will be categorized under these names.

#5522 [vividus] Add ability to enable filtering by table meta

New property:

engine.filtering-by-table-meta-enabled=false

[vividus] Add new data providers for #{generate($data-provider-and-its-arguments)} expression

  • 2 new providers
    • Dota2
      • Dota2.attribute
      • Dota2. building
      • Dota2.faction
      • Dota2.hero
      • Dota2.item
      • Dota2.neutralItem
      • Dota2.player
      • Dota2.rank
      • Dota2.team
      • Dota2.tier
    • FinancialTerms
      • FinancialTerms.adjective
      • FinancialTerms.noun
      • FinancialTerms.verb
    • Word
      • Word.adjective
      • Word.adverb
      • Word.conjunction
      • Word.interjection
      • Word.noun
      • Word.preposition
      • Word.verb
  • New data generators in Image provider
    • Image.base64BMP
    • Image.base64JPEG
    • Image.base64TIFF

#5432 (Closes ##5411) [vividus-plugin-web-app] Add ability to hide shadow DOM source attachments in report

New property:

ui.publish-shadow-dom-source-on-failure=true

defines whether to publish the source code of Shadow DOM elements on failure or not.

#5433 [vividus-plugin-web-app] Collect Shadow DOM sources into a single report attachment

Now all sources of shadow DOM elements are collected in a single report attachment

#5502, #5548 [vividus-plugin-web-app] Add geolocation emulation steps

New steps:

When I emulate Geolocation using coordinates with latitude `$latitude` and longitude `$longitude`
When I reset Geolocation emulation

#5546 [vividus-plugin-web-app] Add step to clear browser console logs

New step:

When I clear browser console logs

#5449 [vividus-plugin-web-app][vividus-plugin-mobile-app] Add possibility to use dot char . in custom locators.

Now locator names can contain dot:

ui.locator.loginPage.username.locator-type=xpath
ui.locator.loginPage.username.pattern=//*[@alt = 'username']

#5547 [vividus-plugin-web-app][vividus-plugin-mobile-app] Increase allowed published HAR size to ~40 MB

#5329 [vividus-plugin-rest-api] Add expression to decode URI

New expression:

#{decodeUri($uri)}

decodes percent-encoded URI into a human-readable format.

#5332 [vividus-plugin-rest-api] Retry resource check with HTTP GET if HEAD returns status code 403

Some websites may return response with status code 403 for HEAD requests, to overcome this limitation resource check is retried using GET method for such cases.

#5382 [vividus-plugin-rest-api] Add ability to clean up cookies after each step

The property:

rest-api.http.cookie-store-level=global

сonfigures the level of cookie storage:

  • global - cookies are stored globally and are accessible across the entire suite from all threads: cookies set in
    one scenario are available and reused in all subsequent scenarios and stories.
  • story - cookies are reused within the scope of a single story and are cleared upon its completion.
  • scenario - cookies are reused within the scope of a single scenario and are cleared upon its completion.
  • step - cookies are cleared after each executed step.

#5501 [viviuds-plugin-rest-api] Improve validation status of requests blocked by Akamai

The new status Blocked is used to mark resources requiring manual validation when an HTTP request has been blocked by the Akamai Web Application Firewall.

#5556 [vividus-plugin-rest-api] Add step to remove all cookies from HTTP context

New step:

When I remove all HTTP cookies

#5325 [vividus-plugin-web-app-to-rest-api] Validate HTTP status code at sitemap.xml download

Validate HTTP status code is equal to 200 for HTTP response fetching sitemap.xml.

#5416 [vividus-plugin-web-app-to-rest-api] Add ability to set checked attributes for resource checker

New property:

resource-checker.attributes-to-check=href,src

#5550 [vividus-plugin-web-app-to-rest-api] Add step to set HTTP client cookies to browser

New step:

When I set browser cookies to HTTP context

defines a comma-separated list of HTML attributes where resource URLs will be searched.

#5414 (Closes ##5313) [vividus-plugin-json] Add ability to source data for FROM_JSON table transformer from JSON resource

New parameter path specifies JSON resource name or the JSON file path.

#5414 (Closes ##5313) [vividus-plugin-html] Add ability to source data for FROM_HTML table transformer from HTML resource

New parameter path specifies HTML resource name or the HTML file path.

#5444 [vividus-plugin-html] Add ability to specify base URI for FROM_HTML transformer

New parameter baseUri specifies the base URI that can be used to get an absolute URL from an attribute that may be a relative URL: make sure to add the prefix abs:.

#5270 [vividus-plugin-applitools] Add option to limit screenshots max height

Max screenshot page can now be configured via both steps parameters and global properties.
NOTE: All images with height greater than 15000px are trimmed on the server side.

#5552 [vividus-plugin-applitools] Add ability to configure screenshot scaling

The scale ratio of the image: the less the ratio the smaller the image and vice versa, for example if we want to make the image 25% smaller the ration should be set to 0.75, this can be useful if image height exceeds the Applitools height limit (15000 pixels).

#5415 [vividus-plugin-applitools] Fail visual test on contrast advisor violations

Now visual step is marked as failed if there are any contrast advisor violations.

#5307 [vividus-plugin-mobitru] Add ability to capture video recordings

New property:

mobitru.video-recording-enabled=false

enabling the video recording for entire appium session was added. The output recording is attached to the report.

#5364 (Closes ##5359) [vividus-plugin-azure-service-bus] Add possibility to send messages with custom properties

New step:

When I send message to `$serviceBusKey` service bus with payload:`$payload` and custom properties:$customProperties

Changed

#5380 [vividus] Rename tab and widget: from Suites to Batches

Name Batches better reflects the structure of VIVIDUS tests.

#5312 Move FROM_HTML transformer from vividus-plugin-web-app-to-rest-api to vividus-plugin-html

This change does not require any action from users since vividus-plugin-web-app-to-rest-api already includes vividus-plugin-html. In case if vividus-plugin-web-app-to-rest-api is applied only to use the mentioned transformer in tests, this plugin can be replaced with vividus-plugin-html.

#5467 [vividus-docker-image] Bump Java in docker image from 17 to 21

As a preparation to migration step the base image of VIVIDUS docker image is updated to Java 21.

#5537 [vividus-plugin-mobile-app] Remove property alias selenium.grid.automation-name

The property was used internally to map Appium capability, users are not expected to be affected, the replacement is a regular property for capabilities: selenium.grid.capabilities.automationName

Deprecated

#5259 [vividus-plugin-web-app] Deprecate non-generic locator filter types

Deprecated locator filter Replacement
tooltip ...->filter.attribute(title=<expected>)
imageSrcPart No straightforward replacement is available, use a combination of locator and filters
placeholder ...->filter.attribute(placeholder=<placeholder>)
validationIconSource No straightforward replacement is available, use a combination of locator and filters

#5289 [vividus-plugin-web-app] Deprecate elementName locator type

elementName locator type is deprecated and will be removed. Use name locator type instead.

#5414(Closes ##5313) [vividus-plugin-csv] Rename parameter of FROM_CSV table transformer specifying path to CSV resource

Deprecated parameter Replacement
csvPath path

Fixed

#5469 (Fixes ##5463) [vividus] Fix handling of encoded equals sign in URL query

Now encoded equals signs in URL query are preserved encoded.

#5489 (Fixes #5438) [vividus] Fix incorrect order of table transformers execution

Table transformers on the Story/Scenario level are executed after external (declared in table files) transformers.

#5530, #5568 (Fixes #5356) [vividus] Fix execution of After Story hooks with composite steps after story with failed assertions

#5554, #5568 (Fixes #5306) Fix failStoryFast option in known issues when story contains GivenStories

#5326 [vividus-plugin-rest-api] Fix generation of report attachments with resources validation results

The formatted view for HTTP messages is now available again.

#5303, #5357, #5362, #5367 [vividus-plugin-web-app] Escape all special chars in generated CSS selectors

Escaping spacial characters ("#", "?") ensures that they are treated as literal characters rather than as a special selector symbol, allowing to target accurately elements with attributes that include these special characters.

#5430 [vividus-plugin-web-app] Fix generation of CSS selectors for elements with identical IDs

Even though the id attribute is expected to be unique according to specification, not everyone follows it.

#5431 [vividus-plugin-web-app] Fix handling of empty IDs while generating CSS selectors

Even though the id attribute is expected to be non-empty to specification, not everyone follows it.

#5330 [vividus-plugin-web-app] Reset cached device pixel ratio on device metrics change

Emulated devices may have own DPR, thus cached DPR is reset on each device emulation step

[vividus-plugin-web-app-to-rest-api] Use preemptive basic authentication to retrieve sitemap.xml

If basic authentication is configured, then it will be used preemptively to fetch sitemap.xml used by FROM_SITEMAP table transformer.

#5466 [vividus-plugin-web-app-to-rest-api] Do not mark repeated unsuccessful resource checks as skipped

Unsuccessful checks of repeated resources are reported with a proper status now.

#5516 [vividus-plugin-web-app-to-rest-api] Consider unresolved scheme as broken validation

If scheme can't be detected during resource check, such resource is considered broken.

#5521 [vividus-plugin-web-app-to-rest-api] Fix invalid handling of jump links as filtered

#5525 [viviuds-plugin-web-app-to-rest-api] Encode URLs validated by resource checker

#5436 [viviuds-plugin-json] Prioritize JSON iterating steps to avoid incorrect steps detection

Priority of JSON iterating steps is increased to avoid collisions with other steps.