Skip to content

Commit ec1dd8f

Browse files
authored
Merge pull request #376 from magento/develop
MFTF 2.4.2 - Merge develop to master
2 parents a850051 + 4d55d3f commit ec1dd8f

File tree

97 files changed

+1622
-951
lines changed

Some content is hidden

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

97 files changed

+1622
-951
lines changed

CHANGELOG.md

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

4+
2.4.2
5+
-----
6+
* Traceability
7+
* Test action `stepKey`s are now included in both console output and Allure report.
8+
* XML Comments are now automatically converted into a `<comment>` action.
9+
10+
### Fixes
11+
* Moved `epfremme/swagger-php` dependency to `suggests` block due to a conflict with Magento extensions.
12+
413
2.4.1
514
-----
615
* Traceability

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

composer.json

+4-2
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.1",
5+
"version": "2.4.2",
66
"license": "AGPL-3.0",
77
"keywords": ["magento", "automation", "functional", "testing"],
88
"config": {
@@ -14,7 +14,6 @@
1414
"ext-curl": "*",
1515
"codeception/codeception": "~2.3.4 || ~2.4.0 ",
1616
"consolidation/robo": "^1.0.0",
17-
"epfremme/swagger-php": "^2.0",
1817
"flow/jsonpath": ">0.2",
1918
"fzaninotto/faker": "^1.6",
2019
"monolog/monolog": "^1.0",
@@ -36,6 +35,9 @@
3635
"php-coveralls/php-coveralls": "^1.0",
3736
"symfony/stopwatch": "~3.4.6"
3837
},
38+
"suggest": {
39+
"epfremme/swagger-php": "^2.0"
40+
},
3941
"autoload": {
4042
"files": ["src/Magento/FunctionalTestingFramework/_bootstrap.php"],
4143
"psr-4": {

composer.lock

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

dev/tests/functional/tests/MFTF/DevDocs/Page/MFTFDocPage.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../../src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="MFTFDocPage" url="guides/v2.2/magento-functional-testing-framework/release-2/introduction.html" area="storefront" module="MFTF_DevDocs">
11+
<page name="MFTFDocPage" url="mftf/docs/introduction.html" area="storefront" module="MFTF_DevDocs">
1212
<section name="contentSection" />
1313
</page>
1414
</pages>

dev/tests/functional/tests/MFTF/DevDocs/Test/DevDocsTest.xml

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
xsi:noNamespaceSchemaLocation="../../../../../../../src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
1111
<test name="DevDocsTest">
1212
<annotations>
13+
<!-- Comment in Annotations for DevDocs Test are not affecting test generation -->
1314
<features value="DevDocs available"/>
1415
<stories value="MFTF DevDocs available"/>
1516
<title value="Magento Functional Testing Framework Documentation is available."/>
@@ -18,6 +19,7 @@
1819
<group value="mftf"/>
1920
</annotations>
2021

22+
<!-- Open MFTF DevDocs Page -->
2123
<amOnPage stepKey="openMFTFDevDocPage" url="{{MFTFDocPage.url}}" />
2224
<see stepKey="verifyPageIntroText" selector="{{contentSection.pageIntro}}" userInput="Introduction to the Magento Functional Testing Framework" />
2325
</test>

0 commit comments

Comments
 (0)