Skip to content

Commit a626fb8

Browse files
authored
Merge pull request #422 from magento/merge-master-into-develop
Merge 2.4.4 master into develop
2 parents 6c3d570 + 2d4efac commit a626fb8

File tree

14 files changed

+459
-48
lines changed

14 files changed

+459
-48
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Magento Functional Testing Framework Changelog
22
================================================
33

4+
2.4.4
5+
-----
6+
### Fixes
7+
* Fixed an issue where `_CREDS` could not be resolved when used in a suite.
8+
49
2.4.3
510
-----
611
* Customizability

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

composer.json

Lines changed: 1 addition & 1 deletion
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.3",
5+
"version": "2.4.4",
66
"license": "AGPL-3.0",
77
"keywords": ["magento", "automation", "functional", "testing"],
88
"config": {

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/verification/Resources/functionalSuiteHooks.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Group;
44

55
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\PersistedObjectHandler;
6+
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\CredentialStore;
67

78
/**
89
* Group class is Codeception Extension which is allowed to handle to all internal events.

dev/tests/verification/Resources/functionalSuiteWithComments.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Group;
44

55
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\PersistedObjectHandler;
6+
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\CredentialStore;
67

78
/**
89
* Group class is Codeception Extension which is allowed to handle to all internal events.

docs/data.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ The following conventions apply to MFTF `<data>`:
121121
* A `<data>` file may contain multiple data entities.
122122
* Camel case is used for `<data>` elements. The name represents the `<data>` type. For example, a file with customer data is `CustomerData.xml`. A file for simple product would be `SimpleProductData.xml`.
123123
* Camel case is used for the entity name.
124+
* The file name must have the suffix `Data.xml`.
124125

125126
## Example
126127

@@ -263,4 +264,4 @@ Attributes|Type|Use|Description
263264
[Actions]: ./test/actions.md
264265
[category creation]: http://docs.magento.com/m2/ce/user_guide/catalog/category-create.html
265266
[Credentials]: ./credentials.md
266-
[test actions]: ./test/actions.md#actions-returning-a-variable
267+
[test actions]: ./test/actions.md#actions-returning-a-variable

docs/getting-started.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ location ~* ^/dev/tests/acceptance/utils($|/) {
100100

101101
## Set up an embedded MFTF {#setup-framework}
102102

103-
This is a default setup that you would need to start using the MFTF to cover your Magento project with functional testing.
103+
This is the default setup of the MFTF that you would need to cover your Magento project with functional tests.
104104
It installs the framework using an existing Composer dependency such as `magento/magento2-functional-testing-framework`.
105105
If you want to set up the MFTF as a standalone tool, refer to [Set up a standalone MFTF][].
106106

@@ -257,7 +257,7 @@ cd magento2-functional-testing-framework
257257
composer install
258258
```
259259

260-
### Step 3. Build the project {#build-project}
260+
### Step 3. Build the project
261261

262262
```bash
263263
bin/mftf build:project
@@ -309,7 +309,6 @@ allure serve dev/tests/_output/allure-results/
309309
[allure docs]: https://docs.qameta.io/allure/
310310
[Allure Framework]: http://allure.qatools.ru/
311311
[basic configuration]: configuration.html#basic-configuration
312-
[build]: #build-project
313312
[chrome driver]: https://sites.google.com/a/chromium.org/chromedriver/downloads
314313
[Codeception Test execution]: https://blog.jetbrains.com/phpstorm/2017/03/codeception-support-comes-to-phpstorm-2017-1/
315314
[composer]: https://getcomposer.org/download/

docs/mftf-tests.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<style>
2+
.mftf-dl {
3+
margin-bottom: 2.5em;
4+
}
5+
dl dt{
6+
font-weight:400;
7+
}
8+
9+
</style>
10+
11+
# MFTF functional test reference
12+
13+
The Magento Functional Testing Framework runs tests on every Module within Magento. These files are stored within each Module folder in the Magento repo.
14+
This page lists all those tests so that developers can have a good sense of what is covered.
15+
16+
{% include mftf/mftf_data.md %}
17+
18+
{% for item in mftf %}
19+
20+
### {{ item.name }}
21+
{% for file in item.items %}
22+
#### [{{ file.filename }}]({{file.repo}})
23+
{: .mftf-test-link}
24+
25+
{% for test in file.tests %}
26+
{{test.testname}}
27+
: {{test.description}}
28+
{: .mftf-dl}
29+
{% endfor %}
30+
{% endfor %}
31+
{% endfor %}

docs/selectors.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)