Skip to content

Commit 4acbb80

Browse files
committed
MQE-508: before and after tags should have their own group/type in the schema
- add new type for before/after schema
1 parent 421a2a2 commit 4acbb80

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<xs:complexType name="cestType">
2323
<xs:choice minOccurs="0" maxOccurs="unbounded">
2424
<xs:element type="annotationsType" name="annotations" minOccurs="0"/>
25-
<xs:element type="testType" name="before" minOccurs="0"/>
26-
<xs:element type="testType" name="after" minOccurs="0"/>
25+
<xs:element type="hookType" name="before" minOccurs="0"/>
26+
<xs:element type="hookType" name="after" minOccurs="0"/>
2727
<xs:element type="testType" name="test" maxOccurs="unbounded"/>
2828
</xs:choice>
2929
<xs:attribute type="xs:string" name="name" use="required"/>
@@ -66,6 +66,11 @@
6666
</xs:extension>
6767
</xs:simpleContent>
6868
</xs:complexType>
69+
<xs:complexType name="hookType">
70+
<xs:choice minOccurs="0" maxOccurs="unbounded">
71+
<xs:group ref="actionTypeTags"/>
72+
</xs:choice>
73+
</xs:complexType>
6974
<xs:complexType name="testType">
7075
<xs:choice minOccurs="0" maxOccurs="unbounded">
7176
<xs:group ref="actionTypeTags" />

0 commit comments

Comments
 (0)