doc-detective-common 3.4.1-dev.2 → 3.4.1-dev.4
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/checkLink_v3.schema.json +2 -2
- package/dist/schemas/click_v3.schema.json +142 -6
- package/dist/schemas/config_v3.schema.json +2257 -151
- package/dist/schemas/find_v3.schema.json +647 -28
- package/dist/schemas/httpRequest_v3.schema.json +2 -2
- package/dist/schemas/report_v3.schema.json +2264 -158
- package/dist/schemas/resolvedTests_v3.schema.json +4478 -266
- package/dist/schemas/runCode_v3.schema.json +4 -4
- package/dist/schemas/runShell_v3.schema.json +4 -4
- package/dist/schemas/screenshot_v3.schema.json +204 -0
- package/dist/schemas/spec_v3.schema.json +2264 -158
- package/dist/schemas/step_v3.schema.json +1114 -61
- package/dist/schemas/test_v3.schema.json +2253 -147
- package/dist/schemas/type_v3.schema.json +98 -4
- package/package.json +1 -1
- package/src/schemas/build/checkLink_v3.schema.json +1 -1
- package/src/schemas/build/click_v3.schema.json +71 -3
- package/src/schemas/build/find_v3.schema.json +90 -4
- package/src/schemas/build/httpRequest_v3.schema.json +1 -1
- package/src/schemas/build/runCode_v3.schema.json +2 -2
- package/src/schemas/build/runShell_v3.schema.json +2 -2
- package/src/schemas/build/screenshot_v3.schema.json +68 -0
- package/src/schemas/build/test_v3.schema.json +1 -1
- package/src/schemas/build/type_v3.schema.json +48 -1
- package/src/schemas/output_schemas/checkLink_v3.schema.json +2 -2
- package/src/schemas/output_schemas/click_v3.schema.json +142 -6
- package/src/schemas/output_schemas/config_v3.schema.json +2257 -151
- package/src/schemas/output_schemas/find_v3.schema.json +647 -28
- package/src/schemas/output_schemas/httpRequest_v3.schema.json +2 -2
- package/src/schemas/output_schemas/report_v3.schema.json +2264 -158
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +4478 -266
- package/src/schemas/output_schemas/runCode_v3.schema.json +4 -4
- package/src/schemas/output_schemas/runShell_v3.schema.json +4 -4
- package/src/schemas/output_schemas/screenshot_v3.schema.json +204 -0
- package/src/schemas/output_schemas/spec_v3.schema.json +2264 -158
- package/src/schemas/output_schemas/step_v3.schema.json +1114 -61
- package/src/schemas/output_schemas/test_v3.schema.json +2253 -147
- package/src/schemas/output_schemas/type_v3.schema.json +98 -4
- package/src/schemas/schemas.json +15467 -725
- package/src/schemas/src_schemas/checkLink_v3.schema.json +1 -1
- package/src/schemas/src_schemas/click_v3.schema.json +71 -3
- package/src/schemas/src_schemas/find_v3.schema.json +87 -4
- package/src/schemas/src_schemas/httpRequest_v3.schema.json +1 -1
- package/src/schemas/src_schemas/runCode_v3.schema.json +2 -2
- package/src/schemas/src_schemas/runShell_v3.schema.json +2 -2
- package/src/schemas/src_schemas/screenshot_v3.schema.json +68 -0
- package/src/schemas/src_schemas/test_v3.schema.json +1 -1
- package/src/schemas/src_schemas/type_v3.schema.json +48 -1
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"type": "array",
|
|
28
28
|
"description": "Arguments for the command.",
|
|
29
29
|
"items": {
|
|
30
|
-
"
|
|
30
|
+
"anyOf": [
|
|
31
31
|
{
|
|
32
32
|
"type": "string"
|
|
33
33
|
}
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"type": "array",
|
|
45
45
|
"description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
|
|
46
46
|
"items": {
|
|
47
|
-
"
|
|
47
|
+
"anyOf": [
|
|
48
48
|
{
|
|
49
49
|
"type": "integer"
|
|
50
50
|
}
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"type": "array",
|
|
119
119
|
"description": "Arguments for the command.",
|
|
120
120
|
"items": {
|
|
121
|
-
"
|
|
121
|
+
"anyOf": [
|
|
122
122
|
{
|
|
123
123
|
"type": "string"
|
|
124
124
|
}
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"type": "array",
|
|
136
136
|
"description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
|
|
137
137
|
"items": {
|
|
138
|
-
"
|
|
138
|
+
"anyOf": [
|
|
139
139
|
{
|
|
140
140
|
"type": "integer"
|
|
141
141
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"type": "array",
|
|
27
27
|
"description": "Arguments for the command.",
|
|
28
28
|
"items": {
|
|
29
|
-
"
|
|
29
|
+
"anyOf": [
|
|
30
30
|
{
|
|
31
31
|
"type": "string"
|
|
32
32
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "array",
|
|
44
44
|
"description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
|
|
45
45
|
"items": {
|
|
46
|
-
"
|
|
46
|
+
"anyOf": [
|
|
47
47
|
{
|
|
48
48
|
"type": "integer"
|
|
49
49
|
}
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"type": "array",
|
|
117
117
|
"description": "Arguments for the command.",
|
|
118
118
|
"items": {
|
|
119
|
-
"
|
|
119
|
+
"anyOf": [
|
|
120
120
|
{
|
|
121
121
|
"type": "string"
|
|
122
122
|
}
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"type": "array",
|
|
134
134
|
"description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
|
|
135
135
|
"items": {
|
|
136
|
-
"
|
|
136
|
+
"anyOf": [
|
|
137
137
|
{
|
|
138
138
|
"type": "integer"
|
|
139
139
|
}
|
|
@@ -71,6 +71,31 @@
|
|
|
71
71
|
"required": [
|
|
72
72
|
"elementText"
|
|
73
73
|
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"required": [
|
|
77
|
+
"elementId"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"required": [
|
|
82
|
+
"elementTestId"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"required": [
|
|
87
|
+
"elementClass"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"required": [
|
|
92
|
+
"elementAttribute"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"required": [
|
|
97
|
+
"elementAria"
|
|
98
|
+
]
|
|
74
99
|
}
|
|
75
100
|
],
|
|
76
101
|
"properties": {
|
|
@@ -82,6 +107,49 @@
|
|
|
82
107
|
"type": "string",
|
|
83
108
|
"description": "Selector of the element to screenshot."
|
|
84
109
|
},
|
|
110
|
+
"elementId": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "ID attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
113
|
+
},
|
|
114
|
+
"elementTestId": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
117
|
+
},
|
|
118
|
+
"elementClass": {
|
|
119
|
+
"anyOf": [
|
|
120
|
+
{
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"description": "Class or array of classes that the element must have. Each class supports exact match or regex pattern using /pattern/ syntax. Element must have all specified classes."
|
|
131
|
+
},
|
|
132
|
+
"elementAttribute": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
|
|
135
|
+
"additionalProperties": {
|
|
136
|
+
"anyOf": [
|
|
137
|
+
{
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "number"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "boolean"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"elementAria": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
|
|
152
|
+
},
|
|
85
153
|
"padding": {
|
|
86
154
|
"anyOf": [
|
|
87
155
|
{
|
|
@@ -199,6 +267,31 @@
|
|
|
199
267
|
"required": [
|
|
200
268
|
"elementText"
|
|
201
269
|
]
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"required": [
|
|
273
|
+
"elementId"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"required": [
|
|
278
|
+
"elementTestId"
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"required": [
|
|
283
|
+
"elementClass"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"required": [
|
|
288
|
+
"elementAttribute"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"required": [
|
|
293
|
+
"elementAria"
|
|
294
|
+
]
|
|
202
295
|
}
|
|
203
296
|
],
|
|
204
297
|
"properties": {
|
|
@@ -210,6 +303,49 @@
|
|
|
210
303
|
"type": "string",
|
|
211
304
|
"description": "Selector of the element to screenshot."
|
|
212
305
|
},
|
|
306
|
+
"elementId": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"description": "ID attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
309
|
+
},
|
|
310
|
+
"elementTestId": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
313
|
+
},
|
|
314
|
+
"elementClass": {
|
|
315
|
+
"anyOf": [
|
|
316
|
+
{
|
|
317
|
+
"type": "string"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "array",
|
|
321
|
+
"items": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"description": "Class or array of classes that the element must have. Each class supports exact match or regex pattern using /pattern/ syntax. Element must have all specified classes."
|
|
327
|
+
},
|
|
328
|
+
"elementAttribute": {
|
|
329
|
+
"type": "object",
|
|
330
|
+
"description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
|
|
331
|
+
"additionalProperties": {
|
|
332
|
+
"anyOf": [
|
|
333
|
+
{
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "number"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "boolean"
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"elementAria": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
|
|
348
|
+
},
|
|
213
349
|
"padding": {
|
|
214
350
|
"anyOf": [
|
|
215
351
|
{
|
|
@@ -266,6 +402,31 @@
|
|
|
266
402
|
"required": [
|
|
267
403
|
"elementText"
|
|
268
404
|
]
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"required": [
|
|
408
|
+
"elementId"
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"required": [
|
|
413
|
+
"elementTestId"
|
|
414
|
+
]
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"required": [
|
|
418
|
+
"elementClass"
|
|
419
|
+
]
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"required": [
|
|
423
|
+
"elementAttribute"
|
|
424
|
+
]
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"required": [
|
|
428
|
+
"elementAria"
|
|
429
|
+
]
|
|
269
430
|
}
|
|
270
431
|
],
|
|
271
432
|
"properties": {
|
|
@@ -277,6 +438,49 @@
|
|
|
277
438
|
"type": "string",
|
|
278
439
|
"description": "Selector of the element to screenshot."
|
|
279
440
|
},
|
|
441
|
+
"elementId": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"description": "ID attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
444
|
+
},
|
|
445
|
+
"elementTestId": {
|
|
446
|
+
"type": "string",
|
|
447
|
+
"description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
448
|
+
},
|
|
449
|
+
"elementClass": {
|
|
450
|
+
"anyOf": [
|
|
451
|
+
{
|
|
452
|
+
"type": "string"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"type": "array",
|
|
456
|
+
"items": {
|
|
457
|
+
"type": "string"
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"description": "Class or array of classes that the element must have. Each class supports exact match or regex pattern using /pattern/ syntax. Element must have all specified classes."
|
|
462
|
+
},
|
|
463
|
+
"elementAttribute": {
|
|
464
|
+
"type": "object",
|
|
465
|
+
"description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
|
|
466
|
+
"additionalProperties": {
|
|
467
|
+
"anyOf": [
|
|
468
|
+
{
|
|
469
|
+
"type": "string"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": "number"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"type": "boolean"
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"elementAria": {
|
|
481
|
+
"type": "string",
|
|
482
|
+
"description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
|
|
483
|
+
},
|
|
280
484
|
"padding": {
|
|
281
485
|
"anyOf": [
|
|
282
486
|
{
|