File tree 3 files changed +21
-3
lines changed
src/Magento/FunctionalTestingFramework/Test/etc
3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ class ActionGroupFunctionalCest
35
35
$ReplacementPerson = DataObjectHandler::getInstance()->getObject("ReplacementPerson");
36
36
$this->createPersonParam = new DataPersistenceHandler($ReplacementPerson);
37
37
$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");
38
46
}
39
47
40
48
/**
Original file line number Diff line number Diff line change 18
18
</annotations >
19
19
<before >
20
20
<createData entity =" ReplacementPerson" mergeKey =" createPersonParam" />
21
+ <actionGroup ref =" FunctionalActionGroup" mergeKey =" beforeGroup" />
21
22
</before >
22
23
<test name =" BasicActionGroupTest" >
23
24
<amOnPage mergeKey =" step1" url =" /someUrl" />
67
68
<argument name =" myArg" value =" DefaultPerson" />
68
69
</actionGroup >
69
70
</test >
71
+ <after >
72
+ <actionGroup ref =" FunctionalActionGroup" mergeKey =" afterGroup" />
73
+ </after >
70
74
</cest >
71
75
</config >
Original file line number Diff line number Diff line change 69
69
</xs : complexType >
70
70
<xs : complexType name =" hookType" >
71
71
<xs : choice minOccurs =" 0" maxOccurs =" unbounded" >
72
- <xs : group ref =" actionTypeTags " />
72
+ <xs : group ref =" testTypeTags " />
73
73
</xs : choice >
74
74
</xs : complexType >
75
75
<xs : complexType name =" testType" >
76
76
<xs : choice minOccurs =" 0" maxOccurs =" unbounded" >
77
- <xs : group ref =" actionTypeTags " />
77
+ <xs : group ref =" testTypeTags " />
78
78
<xs : element type =" annotationsType" name =" annotations" minOccurs =" 0" />
79
- <xs : element type =" actions" name =" actionGroup" minOccurs =" 0" />
80
79
</xs : choice >
81
80
<xs : attribute type =" xs:string" name =" name" />
82
81
<xs : attribute type =" xs:boolean" name =" remove" default =" false" />
83
82
</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
+
84
90
<xs : group name =" actionTypeTags" >
85
91
<xs : choice >
86
92
<xs : group ref =" dataOperationTags" />
You can’t perform that action at this time.
0 commit comments