Skip to content

Commit 8ea87ea

Browse files
authored
Merge branch 'develop' into executeInSelenium2
2 parents 96edabe + 1671bcd commit 8ea87ea

File tree

223 files changed

+9406
-2133
lines changed

Some content is hidden

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

223 files changed

+9406
-2133
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ dev/tests/functional/MFTF.suite.yml
1616
dev/tests/functional/_output
1717
dev/mftf.log
1818
dev/tests/mftf.log
19-
dev/tests/docs/*
19+
dev/tests/docs/*
20+
dev/tests/_output
21+
dev/tests/functional.suite.yml

CHANGELOG.md

Lines changed: 73 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,82 @@
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+
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+
475
2.4.1
576
-----
677
* 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
980
* See DevDocs for details
1081

1182
### Fixes

bin/mftf

Lines changed: 1 addition & 1 deletion
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.1');
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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22
"name": "magento/magento2-functional-testing-framework",
33
"description": "Magento2 Functional Testing Framework",
44
"type": "library",
5-
"version": "2.4.1",
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 ",
16+
"composer/composer": "^1.6",
1617
"consolidation/robo": "^1.0.0",
17-
"epfremme/swagger-php": "^2.0",
18+
"csharpru/vault-php": "~3.5.3",
19+
"csharpru/vault-php-guzzle6-transport": "^2.0",
1820
"flow/jsonpath": ">0.2",
1921
"fzaninotto/faker": "^1.6",
2022
"monolog/monolog": "^1.0",
@@ -36,6 +38,9 @@
3638
"php-coveralls/php-coveralls": "^1.0",
3739
"symfony/stopwatch": "~3.4.6"
3840
},
41+
"suggest": {
42+
"epfremme/swagger-php": "^2.0"
43+
},
3944
"autoload": {
4045
"files": ["src/Magento/FunctionalTestingFramework/_bootstrap.php"],
4146
"psr-4": {

0 commit comments

Comments
 (0)