0.5.2 - 2022-12-09
Added
#3409 [vividus] Add Java 17 migration notice
All users are welcomed to migrate to Java 17. If version of Java is lower than 17, the notification warning will be printed. In case of issues please report bugs as earlier as possible.
The target date when support of Java versions lower than 17 will be dropped is February 1, 2023 (the first release after this date will require Java 17+). The old versions of VIVIDUS will start slowing down the tests intentionally after April 1, 2023 in order to push users to the migration.
#3414 [vividus] Add ability to configure fail-fast options per batch
New property | Description |
---|---|
batch-<batch-number>.story.fail-fast |
Enables fail-fast for stories within the particular batch, override global setting story.fail-fast |
batch-<batch-number>.scenario.fail-fast |
Enables fail-fast for scenarios within the particular batch, override global setting scenario.fail-fast |
#3388 (Closes #3291) [vividus] Add logging of ExamplesTable
-s transformations
Now input and output tables and properties are logged for each ExamplesTable
transformer.
#3419 Improve data generation via expression
- 21 new providers
- Azure
- Baseball
- Compass
- Control
- Cosmere
- Cricket
- CultureSeries
- DetectiveConan
- DoctorWho
- Doraemon
- Drone
- DungeonsAndDragons
- Emoji
- FamilyGuy
- FreshPrinceOfBelAir
- FullmetalAlchemist
- HeroesOfTheStorm
- MoneyHeist
- OnePiece
- StudioGhibli
- Text
- Far better phone number generation. Almost all generated phone numbers are now valid numbers.
#3435 Introduce mobile web profiles for clouds
vividus-plugin-browserstack
new profiles:browserstack/web/phone
vividus-plugin-mobitru
(Incubating*) new profiles:mobitru/web
vividus-plugin-saucelabs
new profiles:saucelabs/web/phone/iphone
saucelabs/web/phone/android
- "Incubating" means that the functionality is currently a work-in-progress and may change in the future releases.
#3407, #3415 (Closes #3405) [vividus-plugin-datetime] Support E-notation numbers in fromEpochSecond
expression
For example {fromEpochSecond(1.669640468E9)}
expression will result in 2022-11-28T13:01:08
for UTC+0 timezone.
#3380, #3391 (Relates #3256) [vividus] & [vividus-plugin-datetime] Make sure all common and date/time expressions allow to escape commas
If expression argument allows meaningful commas (like, parts of the date format pattern), they should be escaped using \
.
Changed
#3426 Move ZIP-archive steps from REST API plugin to core
It's not required to install any plugins anymore to use the following steps (they are available out of the box, while they required vividus-plugin-rest-api
before):
When I save content of `$archiveData` archive entries to variables:$parameters
Then `$archiveData` archive contains entries with names:$parameters
#3436 (Relates #3434) [vividus] Do not allow to override predefined composite paths
Previously the internal property bdd.configuration.all-composite-paths
configuring path patterns of composite steps files might be mistakenly set by end-users, which might result in overriding of internal composite steps (steps/defaults/*.steps
). That led to errors when internal VIVIDUS composite steps were marked as not implemented. Now the above-mentioned property is removed, users are not able to hide internal VIVIDUS composite steps.
#3435 [vividus-plugin-mobitru] Change name of profile for native mobile apps tests: mobitru
-> mobitru/mobile_app
(Incubating):
"Incubating" means that the functionality is currently a work-in-progress and may change in the future releases.
Deprecated
#3410 [viviuds] Unify naming of fail-fast properties
Deprecated property | Replacement |
---|---|
bdd.batch.fail-fast |
batch.fail-fast |
bdd.story.fail-fast |
story.fail-fast |
bdd.scenario.fail-fast |
scenario.fail-fast |
#3413 [vividus] Unify naming of properties configuring batches
Deprecated property | Replacement |
---|---|
bdd.story-loader.batch-<batch-number>.* |
batch-<batch-number>.* |
bdd.batch-<batch-number>.* |
batch-<batch-number>.* |
#3429 [vividus] Unify naming of properties declaring variables
Deprecated property | Replacement |
---|---|
bdd.variables.global.* |
variables.* |
bdd.variables.batch-<batch-number>.* |
batch-<batch-number>.variables.* |
#3436 [vividus] Unify naming of property configuring path patterns of composite steps files
Deprecated property | Replacement |
---|---|
bdd.configuration.composite-paths |
engine.composite-paths |
Fixed
#3431 [viviuds-plugin-web-app] Do not prepend dot to cookie domains without subdomains
Now if the current page is http://localhost:8080/
, the cookie will be set for domain localhost
. The old behaviour is preserved: if the page is http://test.topdomain.com/
, the cookie domain will be .topdomain.com
#3390 [vividus-plugin-mobile-app] Check element position while swiping to it
Now the check whether the element is interactable (the location is in the area on the screen with indents from borders) while determining if swipe is needed. The affected step is:
When I swipe $direction to element located by `$locator` with duration $swipeDuration