File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed
src/Magento/FunctionalTestingFramework/Test/etc Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ class ActionGroupFunctionalCest
3535 $ReplacementPerson = DataObjectHandler::getInstance()->getObject("ReplacementPerson");
3636 $this->createPersonParam = new DataPersistenceHandler($ReplacementPerson);
3737 $this->createPersonParam->createEntity();
38+ $I->fillField("#foo", "myData1");
39+ $I->fillField("#bar", "myData2");
40+ }
41+
42+ public function _after(AcceptanceTester $I)
43+ {
44+ $I->fillField("#foo", "myData1");
45+ $I->fillField("#bar", "myData2");
3846 }
3947
4048 /**
Original file line number Diff line number Diff line change 1818 </annotations >
1919 <before >
2020 <createData entity =" ReplacementPerson" mergeKey =" createPersonParam" />
21+ <actionGroup ref =" FunctionalActionGroup" mergeKey =" beforeGroup" />
2122 </before >
2223 <test name =" BasicActionGroupTest" >
2324 <amOnPage mergeKey =" step1" url =" /someUrl" />
6768 <argument name =" myArg" value =" DefaultPerson" />
6869 </actionGroup >
6970 </test >
71+ <after >
72+ <actionGroup ref =" FunctionalActionGroup" mergeKey =" afterGroup" />
73+ </after >
7074 </cest >
7175</config >
Original file line number Diff line number Diff line change 6969 </xs : complexType >
7070 <xs : complexType name =" hookType" >
7171 <xs : choice minOccurs =" 0" maxOccurs =" unbounded" >
72- <xs : group ref =" actionTypeTags " />
72+ <xs : group ref =" testTypeTags " />
7373 </xs : choice >
7474 </xs : complexType >
7575 <xs : complexType name =" testType" >
7676 <xs : choice minOccurs =" 0" maxOccurs =" unbounded" >
77- <xs : group ref =" actionTypeTags " />
77+ <xs : group ref =" testTypeTags " />
7878 <xs : element type =" annotationsType" name =" annotations" minOccurs =" 0" />
79- <xs : element type =" actions" name =" actionGroup" minOccurs =" 0" />
8079 </xs : choice >
8180 <xs : attribute type =" xs:string" name =" name" />
8281 <xs : attribute type =" xs:boolean" name =" remove" default =" false" />
8382 </xs : complexType >
83+ <xs : group name =" testTypeTags" >
84+ <xs : choice >
85+ <xs : group ref =" actionTypeTags" />
86+ <xs : element type =" actions" name =" actionGroup" minOccurs =" 0" />
87+ </xs : choice >
88+ </xs : group >
89+
8490 <xs : group name =" actionTypeTags" >
8591 <xs : choice >
8692 <xs : group ref =" dataOperationTags" />
You can’t perform that action at this time.
0 commit comments