diff --git a/dev/tests/verification/Resources/BasicFunctionalTest.txt b/dev/tests/verification/Resources/BasicFunctionalTest.txt
index 072b58261..42fd5ff56 100644
--- a/dev/tests/verification/Resources/BasicFunctionalTest.txt
+++ b/dev/tests/verification/Resources/BasicFunctionalTest.txt
@@ -15,7 +15,7 @@ use Yandex\Allure\Adapter\Annotation\TestCaseId;
/**
* @Title("[NO TESTCASEID]: A Functional Cest")
* @group functional
- * @Description("
Deprecated Notice(s):
- DEPRECATED ACTION in Test: at step performOnKey1 'performOn' is DEPRECATED and will be removed in MFTF 3.0.0.
Test files
verification/TestModule/Test/BasicFunctionalTest.xml
")
+ * @Description("Test files
verification/TestModule/Test/BasicFunctionalTest.xml
")
*/
class BasicFunctionalTestCest
{
@@ -139,7 +139,6 @@ class BasicFunctionalTestCest
$I->moveMouseOver(".functionalTestSelector"); // stepKey: moveMouseOverKey1
$I->openNewTab(); // stepKey: openNewTabKey1
$I->pauseExecution(); // stepKey: pauseExecutionKey1
- $I->performOn("#selector", function(\WebDriverElement $el) {return $el->isDisplayed();}, 10); // stepKey: performOnKey1
$I->pressKey("#page", "a"); // stepKey: pressKey1
$I->pressKey("#page", ['ctrl', 'a'],'new'); // stepKey: pressKey2
$I->pressKey("#page", ['shift', '111'],'1','x'); // stepKey: pressKey3
diff --git a/dev/tests/verification/Resources/ExecuteInSeleniumTest.txt b/dev/tests/verification/Resources/ExecuteInSeleniumTest.txt
index 5afd1a6ea..e69de29bb 100644
--- a/dev/tests/verification/Resources/ExecuteInSeleniumTest.txt
+++ b/dev/tests/verification/Resources/ExecuteInSeleniumTest.txt
@@ -1,31 +0,0 @@
-Deprecated Notice(s):- DEPRECATED ACTION in Test: at step executeInSeleniumStep 'executeInSelenium' is DEPRECATED and will be removed in MFTF 3.0.0.
Test files
verification/TestModule/Test/ExecuteInSeleniumTest.xml
")
- */
-class ExecuteInSeleniumTestCest
-{
- /**
- * @Features({"TestModule"})
- * @Parameter(name = "AcceptanceTester", value="$I")
- * @param AcceptanceTester $I
- * @return void
- * @throws \Exception
- */
- public function ExecuteInSeleniumTest(AcceptanceTester $I)
- {
- $I->executeInSelenium(function ($webdriver) { return "Hello, World!"}); // stepKey: executeInSeleniumStep
- }
-}
diff --git a/dev/tests/verification/TestModule/ActionGroup/XmlDuplicateActionGroup.xml b/dev/tests/verification/TestModule/ActionGroup/XmlDuplicateActionGroup.xml
index fcc22acca..af35b0134 100644
--- a/dev/tests/verification/TestModule/ActionGroup/XmlDuplicateActionGroup.xml
+++ b/dev/tests/verification/TestModule/ActionGroup/XmlDuplicateActionGroup.xml
@@ -78,8 +78,6 @@
-
-
@@ -126,8 +124,6 @@
-
-
diff --git a/dev/tests/verification/TestModule/Test/BasicFunctionalTest.xml b/dev/tests/verification/TestModule/Test/BasicFunctionalTest.xml
index 1ef25b43d..fdc415501 100644
--- a/dev/tests/verification/TestModule/Test/BasicFunctionalTest.xml
+++ b/dev/tests/verification/TestModule/Test/BasicFunctionalTest.xml
@@ -89,7 +89,6 @@
-
diff --git a/dev/tests/verification/TestModule/Test/ExecuteInSeleniumTest.xml b/dev/tests/verification/TestModule/Test/ExecuteInSeleniumTest.xml
deleted file mode 100644
index c25164220..000000000
--- a/dev/tests/verification/TestModule/Test/ExecuteInSeleniumTest.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/dev/tests/verification/TestModule/Test/XmlDuplicateTest.xml b/dev/tests/verification/TestModule/Test/XmlDuplicateTest.xml
index 937c6edba..d8c2fca66 100644
--- a/dev/tests/verification/TestModule/Test/XmlDuplicateTest.xml
+++ b/dev/tests/verification/TestModule/Test/XmlDuplicateTest.xml
@@ -82,8 +82,6 @@
-
-
@@ -130,8 +128,6 @@
-
-
@@ -298,8 +294,6 @@
-
-
@@ -346,8 +340,6 @@
-
-
@@ -513,8 +505,6 @@
-
-
@@ -561,8 +551,6 @@
-
-
diff --git a/dev/tests/verification/Tests/ExecuteInSeleniumTest.php b/dev/tests/verification/Tests/ExecuteInSeleniumTest.php
deleted file mode 100644
index 36532b362..000000000
--- a/dev/tests/verification/Tests/ExecuteInSeleniumTest.php
+++ /dev/null
@@ -1,22 +0,0 @@
-generateAndCompareTest('ExecuteInSeleniumTest');
- }
-}
diff --git a/docs/test/actions.md b/docs/test/actions.md
index 19ec3f43b..9cf3d43f6 100644
--- a/docs/test/actions.md
+++ b/docs/test/actions.md
@@ -971,26 +971,6 @@ Attribute|Type|Use|Description
```
-### executeInSelenium
-
-#### NOTE: `executeInSelenium` action is DEPRECATED and will be removed in MFTF 3.0.0.
-
-See [executeInSelenium docs on codeception.com](http://codeception.com/docs/modules/WebDriver#executeInSelenium).
-
-Attribute|Type|Use|Description
----|---|---|---
-`function`|string|optional| Name of Selenium function to run.
-`stepKey`|string|required| A unique identifier of the action.
-`before`|string|optional| `stepKey` of action that must be executed next.
-`after`|string|optional| `stepKey` of preceding action.
-
-#### Example
-
-```xml
-
-
-```
-
### executeJS
See [executeJS docs on codeception.com](http://codeception.com/docs/modules/WebDriver#executeJS).
@@ -1459,20 +1439,6 @@ Attribute|Type|Use|Description
```
-### performOn
-
-#### NOTE: `performOn` action is DEPRECATED and will be removed in MFTF 3.0.0.
-
-See [performOn docs on codeception.com](http://codeception.com/docs/modules/WebDriver#performOn).
-
-Attribute|Type|Use|Description
----|---|---|---
-`selector`|string|optional| The selector identifying the corresponding HTML element.
-`function`|string|optional| Function or actions to be taken on the selected element.
-`stepKey`|string|required| A unique identifier of the action.
-`before`|string|optional| `stepKey` of action that must be executed next.
-`after`|string|optional| `stepKey` of preceding action.
-
### pressKey
See [pressKey docs on codeception.com](http://codeception.com/docs/modules/WebDriver#pressKey).
diff --git a/etc/di.xml b/etc/di.xml
index e5e31cf87..aec5e872c 100644
--- a/etc/di.xml
+++ b/etc/di.xml
@@ -8,7 +8,7 @@
+
]>
diff --git a/src/Magento/FunctionalTestingFramework/Console/BaseGenerateCommand.php b/src/Magento/FunctionalTestingFramework/Console/BaseGenerateCommand.php
index 3433f23a8..c331ee93f 100644
--- a/src/Magento/FunctionalTestingFramework/Console/BaseGenerateCommand.php
+++ b/src/Magento/FunctionalTestingFramework/Console/BaseGenerateCommand.php
@@ -23,12 +23,7 @@
class BaseGenerateCommand extends Command
{
- const MFTF_3_O_0_DEPRECATION_MESSAGE = "MFTF NOTICES:\n"
- . "DEPRECATED ACTIONS: \"executeInSelenium\" and \"performOn\" actions will be removed in MFTF 3.0.0\n"
- . "DEPRECATED TEST PATH: support for \"dev/tests/acceptance/tests/functional/Magento/FunctionalTest will be "
- . "removed in MFTF 3.0.0\n"
- . "XSD schema change to only allow single entity per xml file for all entities except data and metadata in "
- . "MFTF 3.0.0\n";
+ const MFTF_NOTICES = "Placeholder text for MFTF notices\n";
/**
* Console output style
@@ -218,9 +213,9 @@ protected function setOutputStyle(InputInterface $input, OutputInterface $output
protected function showMftfNotices(OutputInterface $output)
{
if (null !== $this->ioStyle) {
- $this->ioStyle->note(self::MFTF_3_O_0_DEPRECATION_MESSAGE);
+ $this->ioStyle->note(self::MFTF_NOTICES);
} else {
- $output->writeln(self::MFTF_3_O_0_DEPRECATION_MESSAGE);
+ $output->writeln(self::MFTF_NOTICES);
}
}
}
diff --git a/src/Magento/FunctionalTestingFramework/Console/GenerateSuiteCommand.php b/src/Magento/FunctionalTestingFramework/Console/GenerateSuiteCommand.php
index 2c91aa7f7..8da3493aa 100644
--- a/src/Magento/FunctionalTestingFramework/Console/GenerateSuiteCommand.php
+++ b/src/Magento/FunctionalTestingFramework/Console/GenerateSuiteCommand.php
@@ -58,9 +58,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$allowSkipped
);
- $this->setOutputStyle($input, $output);
- $this->showMftfNotices($output);
-
// Remove previous GENERATED_DIR if --remove option is used
if ($remove) {
$this->removeGeneratedDirectory($output, $output->isVerbose());
diff --git a/src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php b/src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php
index b9378edc1..621f29d03 100644
--- a/src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php
+++ b/src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php
@@ -82,9 +82,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$allowSkipped
);
- $this->setOutputStyle($input, $output);
- $this->showMftfNotices($output);
-
if (!empty($tests)) {
$json = $this->getTestAndSuiteConfiguration($tests);
}
diff --git a/src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php b/src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php
index 08b84d6a1..373256cfc 100644
--- a/src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php
+++ b/src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php
@@ -84,9 +84,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$allowSkipped
);
- $this->setOutputStyle($input, $output);
- $this->showMftfNotices($output);
-
$testConfiguration = $this->getTestAndSuiteConfiguration($tests);
if (!$skipGeneration) {
diff --git a/src/Magento/FunctionalTestingFramework/Console/RunTestFailedCommand.php b/src/Magento/FunctionalTestingFramework/Console/RunTestFailedCommand.php
index 1909c7e0b..5f0596a7f 100644
--- a/src/Magento/FunctionalTestingFramework/Console/RunTestFailedCommand.php
+++ b/src/Magento/FunctionalTestingFramework/Console/RunTestFailedCommand.php
@@ -96,9 +96,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$allowSkipped
);
- $this->setOutputStyle($input, $output);
- $this->showMftfNotices($output);
-
$testConfiguration = $this->getFailedTestList();
if ($testConfiguration === null) {
diff --git a/src/Magento/FunctionalTestingFramework/Console/RunTestGroupCommand.php b/src/Magento/FunctionalTestingFramework/Console/RunTestGroupCommand.php
index be6236c73..6ea37785d 100644
--- a/src/Magento/FunctionalTestingFramework/Console/RunTestGroupCommand.php
+++ b/src/Magento/FunctionalTestingFramework/Console/RunTestGroupCommand.php
@@ -79,9 +79,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$allowSkipped
);
- $this->setOutputStyle($input, $output);
- $this->showMftfNotices($output);
-
if (!$skipGeneration) {
$testConfiguration = $this->getGroupAndSuiteConfiguration($groups);
$command = $this->getApplication()->find('generate:tests');
diff --git a/src/Magento/FunctionalTestingFramework/Test/Objects/ActionObject.php b/src/Magento/FunctionalTestingFramework/Test/Objects/ActionObject.php
index 45b5db69d..f377e2fac 100644
--- a/src/Magento/FunctionalTestingFramework/Test/Objects/ActionObject.php
+++ b/src/Magento/FunctionalTestingFramework/Test/Objects/ActionObject.php
@@ -62,7 +62,7 @@ class ActionObject
const ASSERTION_VALUE_ATTRIBUTE = "value";
const DELETE_DATA_MUTUAL_EXCLUSIVE_ATTRIBUTES = ["url", "createDataKey"];
const EXTERNAL_URL_AREA_INVALID_ACTIONS = ['amOnPage'];
- const FUNCTION_CLOSURE_ACTIONS = ['waitForElementChange', 'performOn', 'executeInSelenium'];
+ const FUNCTION_CLOSURE_ACTIONS = ['waitForElementChange'];
const COMMAND_ACTION_ATTRIBUTES = ['magentoCLI', 'magentoCLISecret'];
const MERGE_ACTION_ORDER_AFTER = 'after';
const MERGE_ACTION_ORDER_BEFORE = 'before';
diff --git a/src/Magento/FunctionalTestingFramework/Test/etc/actionTypeTags.xsd b/src/Magento/FunctionalTestingFramework/Test/etc/actionTypeTags.xsd
index 9aa772858..7bcdbdf50 100644
--- a/src/Magento/FunctionalTestingFramework/Test/etc/actionTypeTags.xsd
+++ b/src/Magento/FunctionalTestingFramework/Test/etc/actionTypeTags.xsd
@@ -34,7 +34,6 @@
-
@@ -45,7 +44,6 @@
-
@@ -290,20 +288,6 @@
-
-
-
- Allows you to use Selenium WebDriver methods directly; last resort method, do not use regularly.
-
-
-
-
-
-
-
-
-
-
@@ -444,21 +428,6 @@
-
-
-
- Performs given function on element.
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Magento/FunctionalTestingFramework/Util/TestGenerator.php b/src/Magento/FunctionalTestingFramework/Util/TestGenerator.php
index 2ec565c44..ab47bce7e 100644
--- a/src/Magento/FunctionalTestingFramework/Util/TestGenerator.php
+++ b/src/Magento/FunctionalTestingFramework/Util/TestGenerator.php
@@ -59,8 +59,6 @@ class TestGenerator
const ARRAY_WRAP_OPEN = '[';
const ARRAY_WRAP_CLOSE = ']';
- const MFTF_3_O_0_DEPRECATION_MESSAGE = ' is DEPRECATED and will be removed in MFTF 3.0.0.';
-
/**
* Actor name for AcceptanceTest
*
@@ -713,10 +711,7 @@ public function generateStepsPhp($actionObjects, $generationScope = TestGenerato
}
if (isset($customActionAttributes['function'])) {
- $function = $this->addUniquenessFunctionCall(
- $customActionAttributes['function'],
- $actionObject->getType() !== "executeInSelenium"
- );
+ $function = $this->addUniquenessFunctionCall($customActionAttributes['function']);
if (in_array($actionObject->getType(), ActionObject::FUNCTION_CLOSURE_ACTIONS)) {
// Argument must be a closure function, not a string.
$function = trim($function, '"');
@@ -1042,11 +1037,6 @@ public function generateStepsPhp($actionObjects, $generationScope = TestGenerato
$parameterArray
);
break;
- case "executeInSelenium":
- $this->deprecationMessages[] = "DEPRECATED ACTION in Test: at step {$stepKey} 'executeInSelenium'"
- . self::MFTF_3_O_0_DEPRECATION_MESSAGE;
- $testSteps .= $this->wrapFunctionCall($actor, $actionObject, $function);
- break;
case "executeJS":
$testSteps .= $this->wrapFunctionCallWithReturnValue(
$stepKey,
@@ -1055,17 +1045,6 @@ public function generateStepsPhp($actionObjects, $generationScope = TestGenerato
$function
);
break;
- case "performOn":
- $this->deprecationMessages[] = "DEPRECATED ACTION in Test: at step {$stepKey} 'performOn'"
- . self::MFTF_3_O_0_DEPRECATION_MESSAGE;
- $testSteps .= $this->wrapFunctionCall(
- $actor,
- $actionObject,
- $selector,
- $function,
- $time
- );
- break;
case "waitForElementChange":
$testSteps .= $this->wrapFunctionCall(
$actor,