8000 Release 0.3.9 - 2021-09-30 · vividus-framework/vividus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0.3.9 - 2021-09-30

Compare
Choose a tag to compare
@valfirst valfirst released this 01 Oct 18:21
· 3456 commits to master since this release
release-0.3.9
53eb370

Added

#1947 [vividus] Add ability to load ExamplesTable-s from variables

Global, batch and next-batches variables can be used to define ExamplesTable path to load it on runtime:

Examples:
${examples-table-path}

#2014 (Closes #2011) [vividus] Add ability to set description for known issue

New optional field description is added to provide possibility to put any information like a comment or additional details for the known issue. Users could rely on information from bug-tracking systems, but it doesn't cover the case when you need to put some info alongside the known issue, so it may be seen in the report. For example:

"VVD-10": {
  "type": "External",
  "assertionPattern": "HTTP response body is not present",
  "description": "Flaky issue caused by bug in load balancer should be fixed after deploying of new version (date: TBD)"
}

#1992 [vividus] Add ability to use variables in Freemarker step

Now it's allowed to use variable instead of ExamplesTable in the step generating data using Freemarker template, e.g.:

When I initialize scenario variable `table` with values:
|country     |capital   |
|Belarus     |Minsk     |
|Netherlands |Amsterdam |
Given I initialize the scenario variable `countries-json` using template `/data/complex-template.ftl` with parameters:
${table}

where /data/complex-template.ftl has the following content:

[
    <#list country as c>
    {
        "country": "${c}",
        "capital": "${capital[c?index]}"
    }<#sep>,</#sep>
    </#list>
]

#1951 [vividus-plugin-db] Add FROM_DB table transformer

FROM_DB transformer generates ExamplesTable based on the data retrieved from the specified database using SQL query, e.g.:

{transformer=FROM_DB, dbKey=university-db, sqlQuery=SELECT * FROM students, nullReplacement= }

#1986 (Closes #1927) [vividus-plugin-mobile-app] Add step typing text and keeping keyboard opened

New step:

When I type `$text` in field located `$locator` and keep keyboard opened

#2004 (Сloses #2003) [vividus-plugin-mobile-app] Add step for Android to long press on a key

[Android only] New step:

When I long press $key key

Example:

When I long press POWER key

Changed

#1939 (Closes #1933 ) [vividus-plugin-mobile-app] Add possibility to swipe the context element

The step performing swipe action:

When I swipe $direction to element located `$locator` with duration $swipeDuration

takes into account the current context: if you need to perform swipe on the element, you need to switch the context to this element.

Fixed

#1970 (Fixes #1967 ) [vividus] Enable dotall mode for step asserting against regex

The dotall mode is enabled by default (the expression . matches any character, including a line terminator) for the step:

Then `$value` matches `$regex`

#1971 [vividus-plugin-web-app] Fix downloading of Firefox driver binaries

Now users are not needed to specify GitHub PAT to download Firefox driver binaries

#2008 (Fixes #2007 ) [vividus-plugin-mobile-app] Fix status bar calculation for Android TV

The workaround is for Android TV only. It is not clear whether any of the Android TVs could have a status bar at all, but the session capabilities contains statBarHeight, and to be on the safe side fall-back code was added to get the status bar height.

#1972 [vividus-plugin-azure-storage-account] Fix FileAlreadyExistsException when downloading blob to a temporary file

Promoted features

Promoted features are features that were incubating in previous versions of VIVIDUS but are now supported and subject to backwards compatibility.

Azure Plugins

The following Azure plugins are promoted to stable:

  • vividus-plugin-azure-cosmos-db
  • vividus-plugin-azure-data-factory
  • vividus-plugin-azure-event-grid
  • vividus-plugin-azure-functions
  • vividus-plugin-azure-storage-account
  • vividus-plugin-azure-storage-queue
0