Skip to content

Commit c113b9f

Browse files
authored
MQE-1743: Changelog and Composer Bump (#449)
- CHANGELOG update - Version bump
1 parent 55a8dda commit c113b9f

File tree

5 files changed

+48
-4
lines changed

5 files changed

+48
-4
lines changed

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,40 @@
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 `ApiUrl`, `Headers`, `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+
27+
### Fixes
28+
* Fixed an issue where `grab` action variables were not substituting correctly when used as an element parameter.
29+
* Framework will not throw a descriptive error when referencing a `$persisted.field$` that does not exist.
30+
* MFTF test materials that `extends=""` itself will no longer cause infinite recursion.
31+
* Fixed an issue where a test could not reference a `$data.field$` whose casing was modified by the API that it used.
32+
* Fixed an issue with the default `functional.suite.yml` where it was incompatible with `symfony/yaml 4.0.0`.
33+
* Improved test generation performance via class refactors (`~10%` faster).
34+
35+
### GitHub Issues/Pull requests:
36+
* [#377](https://github.com/magento/magento2-functional-testing-framework/pull/377) -- Non-API operations fixes
37+
438
2.4.4
539
-----
640
### 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.4');
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/magento2-functional-testing-framework",
33
"description": "Magento2 Functional Testing Framework",
44
"type": "library",
5-
"version": "2.4.4",
5+
"version": "2.5.0",
66
"license": "AGPL-3.0",
77
"keywords": ["magento", "automation", "functional", "testing"],
88
"config": {

composer.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/data.md

+10
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,16 @@ The following is an example of a call in test:
173173

174174
This action inputs data from the `name` of the `_defaultCategory` entity (for example, `simpleCategory598742365`) into the field with the locator defined in the selector of the `categoryNameInput` element of the `AdminCategoryBasicFieldSection`.
175175

176+
You can also call data from the xml definition of a `data` tag directly:
177+
178+
```xml
179+
<entity name="NewAdminUser" type="user">
180+
<data key="username" unique="suffix">admin</data>
181+
<data key="current_password">{{AnotherUser.current_password}}</data> <!-- Data from another entity -->
182+
<data key="current_password">{{_ENV.MAGENTO_ADMIN_PASSWORD}}</data> <!-- ENV file reference -->
183+
</entity>
184+
```
185+
176186
## Reference
177187

178188
### entities {#entities-tag}

0 commit comments

Comments
 (0)