|
1 | 1 | Magento Functional Testing Framework Changelog |
2 | 2 | ================================================ |
3 | 3 |
|
| 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 | + |
| 40 | +2.4.5 |
| 41 | +----- |
| 42 | +### Fixes |
| 43 | +* Fixed an issue where `.credentials` was required when using `<createData>` actions with field overrides. |
| 44 | + |
| 45 | +2.4.4 |
| 46 | +----- |
| 47 | +### Fixes |
| 48 | +* Fixed an issue where `_CREDS` could not be resolved when used in a suite. |
| 49 | + |
| 50 | +2.4.3 |
| 51 | +----- |
| 52 | +* Customizability |
| 53 | + * Use of `_CREDS` has been extended to `<magentoCLI>` and `<createData>` actions |
| 54 | +* Traceability |
| 55 | + * A Test step is now generated and injected in the allure report when a test is reported as `BROKEN`. |
| 56 | + |
| 57 | +### Fixes |
| 58 | +* `static-checks` command now properly returns `1` if any static check failed. |
| 59 | +* MFTF Console Printer class correctly utilizes `--steps` and other flags passed directly to `codecept commands`. |
| 60 | +* `*source` actions correctly print when using `userInput` or `html` attributes. |
| 61 | +* XML Comments should no longer throw an error in parsing when used outside `test/actionGroup` |
| 62 | + |
| 63 | +### GitHub Issues/Pull requests: |
| 64 | +* [#703](https://github.com/magento/magento2-functional-testing-framework/pull/403) -- SMALL_CHANGE: Minor change suggested |
| 65 | + |
| 66 | +2.4.2 |
| 67 | +----- |
| 68 | +* Traceability |
| 69 | + * Test action `stepKey`s are now included in both console output and Allure report. |
| 70 | + * XML Comments are now automatically converted into a `<comment>` action. |
| 71 | + |
| 72 | +### Fixes |
| 73 | +* Moved `epfremme/swagger-php` dependency to `suggests` block due to a conflict with Magento extensions. |
| 74 | + |
4 | 75 | 2.4.1 |
5 | 76 | ----- |
6 | 77 | * Traceability |
7 | | - * XSD Schema validation is now enabled by default in `generate:tests` |
8 | | - * `generate:tests --debug` option has been updated to include different debug levels |
| 78 | + * XSD Schema validation is now enabled by default in `generate:tests`, `run:test`, `run:failed`, `run:group` |
| 79 | + * `--debug` option for the above commands has been updated to include different debug levels |
9 | 80 | * See DevDocs for details |
10 | 81 |
|
11 | 82 | ### Fixes |
|
0 commit comments