Skip to content

Commit 5aa3796

Browse files
authored
Merge pull request magento#458 from magento/2.5.0-RC
MFTF 2.5.0
2 parents d9de524 + 007c83c commit 5aa3796

File tree

68 files changed

+3099
-468
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+3099
-468
lines changed

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,42 @@
11
Magento Functional Testing Framework Changelog
22
================================================
33

4+
2.5.0
5+
-----
6+
* Traceability
7+
* Allure output has been enhanced to contain new test artifacts created and used per MFTF step:
8+
* `makeScreenshot` will contain an attachment under its Allure step.
9+
* `seeInCurrentUrl` and all other `Url` asserts now contain an attachment with the expects vs actual comparison.
10+
* `createData` and all other `Data` actions now contain attachments with `Request Body` and `Response Body`.
11+
* Modularity
12+
* Added a new `mftf run:manifest` command to run testManifest files generated by `generate:tests`.
13+
* See DevDocs for details
14+
* `mftf generate/run:test` commands now implicitly generates the `suite` the test exists in.
15+
* If a test exists in multiple suites, it will generate it in all suite contexts.
16+
* `mftf run:test <testName>` will now only run the exact test provided, regardless of what is generated.
17+
* Maintainability
18+
* Added an `--allow-skipped` flag that allows MFTF to ignore the `<skip>` annotation. This was added to the following commands:
19+
* `generate:test`
20+
* `run:test`
21+
* `run:group`
22+
* `run:failed`
23+
* Customizability
24+
* `<entity>` defined in data.xml can now reference other `<entity>` directly.
25+
* See DevDocs for details
26+
* Added vault as an alternative credential storage.
27+
* See DevDocs for details
28+
29+
### Fixes
30+
* Fixed an issue where `grab` action variables were not substituting correctly when used as an element parameter.
31+
* Framework will not throw a descriptive error when referencing a `$persisted.field$` that does not exist.
32+
* MFTF test materials that `extends=""` itself will no longer cause infinite recursion.
33+
* Fixed an issue where a test could not reference a `$data.field$` whose casing was modified by the API that it used.
34+
* Fixed an issue with the default `functional.suite.yml` where it was incompatible with `symfony/yaml 4.0.0`.
35+
* Improved test generation performance via class refactors (`~10%` faster).
36+
37+
### GitHub Issues/Pull requests:
38+
* [#377](https://github.com/magento/magento2-functional-testing-framework/pull/377) -- Non-API operations fixes
39+
440
2.4.5
541
-----
642
### Fixes

bin/mftf

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ try {
2929
try {
3030
$application = new Symfony\Component\Console\Application();
3131
$application->setName('Magento Functional Testing Framework CLI');
32-
$application->setVersion('2.4.5');
32+
$application->setVersion('2.5.0');
3333
/** @var \Magento\FunctionalTestingFramework\Console\CommandListInterface $commandList */
3434
$commandList = new \Magento\FunctionalTestingFramework\Console\CommandList;
3535
foreach ($commandList->getCommands() as $command) {

composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
"name": "magento/magento2-functional-testing-framework",
33
"description": "Magento2 Functional Testing Framework",
44
"type": "library",
5-
"version": "2.4.5",
5+
"version": "2.5.0",
66
"license": "AGPL-3.0",
77
"keywords": ["magento", "automation", "functional", "testing"],
88
"config": {
99
"sort-packages": true
1010
},
1111
"require": {
1212
"php": "7.0.2||7.0.4||~7.0.6||~7.1.0||~7.2.0||~7.3.0",
13-
"allure-framework/allure-codeception": "~1.3.0",
1413
"ext-curl": "*",
14+
"allure-framework/allure-codeception": "~1.3.0",
1515
"codeception/codeception": "~2.3.4 || ~2.4.0 ",
1616
"consolidation/robo": "^1.0.0",
17+
"csharpru/vault-php": "~3.5.3",
18+
"csharpru/vault-php-guzzle6-transport": "^2.0",
1719
"flow/jsonpath": ">0.2",
1820
"fzaninotto/faker": "^1.6",
1921
"monolog/monolog": "^1.0",

0 commit comments

Comments
 (0)