Skip to content

Commit ab347cf

Browse files
authored
Merge pull request #421 from magento/MFTF-2.4.4
MFTF 2.4.4 - Merge to Master
2 parents 45f0233 + 1bdb14e commit ab347cf

File tree

8 files changed

+13
-5
lines changed

8 files changed

+13
-5
lines changed

CHANGELOG.md

+5
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

+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.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

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

composer.lock

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

dev/tests/verification/Resources/functionalSuiteHooks.txt

+1
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

+1
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.

etc/config/command.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
$tokenModel = $magentoObjectManager->get(\Magento\Integration\Model\Oauth\Token::class);
1313

1414
$tokenPassedIn = urldecode($_POST['token']);
15-
$command = urldecode($_POST['command']);
16-
$arguments = urldecode($_POST['arguments']);
15+
$command = str_replace([';', '&', '|'], '', urldecode($_POST['command']));
16+
$arguments = str_replace([';', '&', '|'], '', urldecode($_POST['arguments']));
1717

1818
// Token returned will be null if the token we passed in is invalid
1919
$tokenFromMagento = $tokenModel->loadByToken($tokenPassedIn)->getToken();

src/Magento/FunctionalTestingFramework/Suite/views/SuiteClass.mustache

+1
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.

0 commit comments

Comments
 (0)