doc-detective-common 3.1.2-dev.4 → 3.2.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/config_v3.schema.json +610 -0
- package/dist/schemas/dragAndDrop_v3.schema.json +224 -0
- package/dist/schemas/report_v3.schema.json +610 -0
- package/dist/schemas/resolvedTests_v3.schema.json +1243 -23
- package/dist/schemas/spec_v3.schema.json +610 -0
- package/dist/schemas/step_v3.schema.json +305 -0
- package/dist/schemas/test_v3.schema.json +610 -0
- package/package.json +3 -3
- package/src/schemas/build/dragAndDrop_v3.schema.json +121 -0
- package/src/schemas/build/step_v3.schema.json +29 -0
- package/src/schemas/dereferenceSchemas.js +1 -0
- package/src/schemas/output_schemas/config_v3.schema.json +610 -0
- package/src/schemas/output_schemas/dragAndDrop_v3.schema.json +224 -0
- package/src/schemas/output_schemas/report_v3.schema.json +610 -0
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +1243 -23
- package/src/schemas/output_schemas/spec_v3.schema.json +610 -0
- package/src/schemas/output_schemas/step_v3.schema.json +305 -0
- package/src/schemas/output_schemas/test_v3.schema.json +610 -0
- package/src/schemas/schemas.json +4438 -249
- package/src/schemas/src_schemas/dragAndDrop_v3.schema.json +117 -0
- package/src/schemas/src_schemas/step_v3.schema.json +27 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "dragAndDrop",
|
|
4
|
+
"description": "Drag and drop an element from source to target.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"source",
|
|
8
|
+
"target"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"source": {
|
|
12
|
+
"description": "The element to drag.",
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"title": "Element (simple)",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"title": "Element (detailed)",
|
|
21
|
+
"type": "object",
|
|
22
|
+
"anyOf": [
|
|
23
|
+
{
|
|
24
|
+
"required": [
|
|
25
|
+
"selector"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"required": [
|
|
30
|
+
"elementText"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"properties": {
|
|
35
|
+
"elementText": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
38
|
+
},
|
|
39
|
+
"selector": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
42
|
+
},
|
|
43
|
+
"timeout": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
46
|
+
"default": 5000
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"target": {
|
|
53
|
+
"description": "The target location to drop the element.",
|
|
54
|
+
"anyOf": [
|
|
55
|
+
{
|
|
56
|
+
"title": "Element (simple)",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"title": "Element (detailed)",
|
|
62
|
+
"type": "object",
|
|
63
|
+
"anyOf": [
|
|
64
|
+
{
|
|
65
|
+
"required": [
|
|
66
|
+
"selector"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"required": [
|
|
71
|
+
"elementText"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"properties": {
|
|
76
|
+
"elementText": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
79
|
+
},
|
|
80
|
+
"selector": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
83
|
+
},
|
|
84
|
+
"timeout": {
|
|
85
|
+
"type": "integer",
|
|
86
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
87
|
+
"default": 5000
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"duration": {
|
|
94
|
+
"type": "integer",
|
|
95
|
+
"description": "Duration of the drag operation in milliseconds.",
|
|
96
|
+
"default": 1000,
|
|
97
|
+
"minimum": 0
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"components": {
|
|
101
|
+
"schemas": {
|
|
102
|
+
"elementSpecification": {
|
|
103
|
+
"anyOf": [
|
|
104
|
+
{
|
|
105
|
+
"title": "Element (simple)",
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"title": "Element (detailed)",
|
|
111
|
+
"type": "object",
|
|
112
|
+
"anyOf": [
|
|
113
|
+
{
|
|
114
|
+
"required": [
|
|
115
|
+
"selector"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"required": [
|
|
120
|
+
"elementText"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"properties": {
|
|
125
|
+
"elementText": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
128
|
+
},
|
|
129
|
+
"selector": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
132
|
+
},
|
|
133
|
+
"timeout": {
|
|
134
|
+
"type": "integer",
|
|
135
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
136
|
+
"default": 5000
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
"string": {
|
|
143
|
+
"title": "Element (simple)",
|
|
144
|
+
"type": "string",
|
|
145
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
146
|
+
},
|
|
147
|
+
"object": {
|
|
148
|
+
"title": "Element (detailed)",
|
|
149
|
+
"type": "object",
|
|
150
|
+
"anyOf": [
|
|
151
|
+
{
|
|
152
|
+
"required": [
|
|
153
|
+
"selector"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"required": [
|
|
158
|
+
"elementText"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"properties": {
|
|
163
|
+
"elementText": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
166
|
+
},
|
|
167
|
+
"selector": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
170
|
+
},
|
|
171
|
+
"timeout": {
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
174
|
+
"default": 5000
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"examples": [
|
|
181
|
+
{
|
|
182
|
+
"source": "Table",
|
|
183
|
+
"target": "#canvas"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"source": ".draggable-block",
|
|
187
|
+
"target": ".drop-zone",
|
|
188
|
+
"duration": 2000
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"source": {
|
|
192
|
+
"selector": ".widget",
|
|
193
|
+
"elementText": "Data Table"
|
|
194
|
+
},
|
|
195
|
+
"target": {
|
|
196
|
+
"selector": "#design-canvas"
|
|
197
|
+
},
|
|
198
|
+
"duration": 500
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"source": {
|
|
202
|
+
"selector": ".draggable",
|
|
203
|
+
"timeout": 10000
|
|
204
|
+
},
|
|
205
|
+
"target": {
|
|
206
|
+
"elementText": "Drop Zone",
|
|
207
|
+
"timeout": 5000
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"source": "/Widget Item.*/",
|
|
212
|
+
"target": "#canvas"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"source": {
|
|
216
|
+
"selector": ".draggable",
|
|
217
|
+
"elementText": "/Button [0-9]+/"
|
|
218
|
+
},
|
|
219
|
+
"target": {
|
|
220
|
+
"elementText": "/Drop Zone.*/"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
}
|