Skip to content

Commit 57021e1

Browse files
authored
Merge pull request magento#221 from magento/develop
MFTF 2.3.6 - Merge to master
2 parents bb1518a + 31ddcc8 commit 57021e1

File tree

116 files changed

+2258
-805
lines changed

Some content is hidden

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

116 files changed

+2258
-805
lines changed

Diff for: CHANGELOG.md

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

4+
2.3.6
5+
-----
6+
### Enhancements
7+
* Maintainability
8+
* A `-r` or `--remove` flag has been introduced to `bin/mftf` commands to clear out the contents of the `_generated` folder before generation. This flag has been added to the following commands:
9+
* `generate:tests`
10+
* `generate:suite`
11+
* `run:test`
12+
* `run:group`
13+
* Customizability
14+
* Persisted data handling mechanisms have been reworked.
15+
* All persisted data is now referenced with the single `$` syntax (old syntax is still supported):
16+
* `$persistedData.field$`
17+
* Persisted data resolution now starts in its own scope and broadens if no matching `stepKey` was found in the current scope.
18+
* Added support for referencing `suite` persisted data in tests.
19+
* Added support for removing data created in between test scopes (`test`, `before/after`, `suite`).
20+
* An attribute `skipReadiness` has been added to all test actions, allowing the individual test action to completely bypass the `ReadinessExtension` if it is enabled.
21+
22+
### Fixes
23+
* To prevent Allure reporting from collating tests with identical `title`, the `testCaseId` annotation is now automatically prepended to the `title` annotation when tests are generated.
24+
* The `magentoCLI` command now correctly removes `index.php` if it is present in the `MAGENTO_BASE_URL`.
25+
* Invalid XML errors now indicate which XML file caused the error.
26+
* Attempting to `extend` a test that does not exist now skips the generation of the test.
27+
* Fixed an issue where a `suite` would generate invalid PHP if the `before` or `after` contained only `createData` actions.
28+
* Fixed an issue where a selector inside an `actionGroup` would incorrectly append the `actionGroup`'s `stepKey` to the selector.
29+
430
2.3.5
531
-----
632
### Fixes

Diff for: 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.3.5');
32+
$application->setVersion('2.3.6');
3333
/** @var \Magento\FunctionalTestingFramework\Console\CommandListInterface $commandList */
3434
$commandList = new \Magento\FunctionalTestingFramework\Console\CommandList;
3535
foreach ($commandList->getCommands() as $command) {

Diff for: 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.3.5",
5+
"version": "2.3.6",
66
"license": "AGPL-3.0",
77
"keywords": ["magento", "automation", "functional", "testing"],
88
"config": {

0 commit comments

Comments
 (0)