-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathcommonAttributes.xsd
83 lines (74 loc) · 2.67 KB
/
commonAttributes.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:attributeGroup name="commonActionAttributes">
<xs:attribute type="xs:string" name="stepKey" use="required">
<xs:annotation>
<xs:documentation>
Unique identifier for test action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:string" name="before">
<xs:annotation>
<xs:documentation>
stepKey of the next action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:string" name="after">
<xs:annotation>
<xs:documentation>
stepKey of preceding action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attribute type="xs:string" name="userInput" id="userInput">
<xs:annotation>
<xs:documentation>
Data or value for Test Action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:string" name="selector" id="selector">
<xs:annotation>
<xs:documentation>
Element selector for Test Action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:string" name="selectorArray" id="selectorArray">
<xs:annotation>
<xs:documentation>
Array of selectors for Test Action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:string" name="parameterArray" id="parameterArray">
<xs:annotation>
<xs:documentation>
Array of Parameters for in Test Action. Requires formatting of "[item1, item2]" or "[item1 => value1, item2 => value2]".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:string" name="url" id="url">
<xs:annotation>
<xs:documentation>
URL for Test Action.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute type="xs:string" name="html" id="html">
<xs:annotation>
<xs:documentation>
Block of HTML for Test Action. Use of this attribute not currently supported.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:schema>