From 16d73c43d225266c69b5d7a78c56f52bb190133a Mon Sep 17 00:00:00 2001 From: Ian Meron Date: Tue, 21 Nov 2017 17:01:48 -0600 Subject: [PATCH] MQE-565: User are not able to use after updating the latest composer.json - add new test actions type - updated verification tests to include check for actionGroup in hook type --- .../Resources/ActionGroupFunctionalCest.txt | 8 ++++++++ .../TestModule/Cest/ActionGroupFunctionalCest.xml | 4 ++++ .../Test/etc/testSchema.xsd | 12 +++++++++--- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/dev/tests/verification/Resources/ActionGroupFunctionalCest.txt b/dev/tests/verification/Resources/ActionGroupFunctionalCest.txt index 39a406e20..9a14b0702 100644 --- a/dev/tests/verification/Resources/ActionGroupFunctionalCest.txt +++ b/dev/tests/verification/Resources/ActionGroupFunctionalCest.txt @@ -35,6 +35,14 @@ class ActionGroupFunctionalCest $ReplacementPerson = DataObjectHandler::getInstance()->getObject("ReplacementPerson"); $this->createPersonParam = new DataPersistenceHandler($ReplacementPerson); $this->createPersonParam->createEntity(); + $I->fillField("#foo", "myData1"); + $I->fillField("#bar", "myData2"); + } + + public function _after(AcceptanceTester $I) + { + $I->fillField("#foo", "myData1"); + $I->fillField("#bar", "myData2"); } /** diff --git a/dev/tests/verification/TestModule/Cest/ActionGroupFunctionalCest.xml b/dev/tests/verification/TestModule/Cest/ActionGroupFunctionalCest.xml index 2237853f3..ed3c5cdce 100644 --- a/dev/tests/verification/TestModule/Cest/ActionGroupFunctionalCest.xml +++ b/dev/tests/verification/TestModule/Cest/ActionGroupFunctionalCest.xml @@ -18,6 +18,7 @@ + @@ -67,5 +68,8 @@ + + + diff --git a/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd b/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd index d54eb1060..1bb521a3e 100644 --- a/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd +++ b/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd @@ -69,18 +69,24 @@ - + - + - + + + + + + +