doc-detective-common 3.4.1-dev.1 → 3.4.1-dev.3
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/click_v3.schema.json +142 -6
- package/dist/schemas/config_v3.schema.json +2146 -66
- package/dist/schemas/find_v3.schema.json +626 -20
- package/dist/schemas/report_v3.schema.json +2139 -59
- package/dist/schemas/resolvedTests_v3.schema.json +4304 -144
- package/dist/schemas/screenshot_v3.schema.json +204 -0
- package/dist/schemas/spec_v3.schema.json +2139 -59
- package/dist/schemas/step_v3.schema.json +1075 -35
- package/dist/schemas/test_v3.schema.json +2139 -59
- package/dist/schemas/type_v3.schema.json +94 -0
- package/package.json +1 -1
- package/src/resolvePaths.js +5 -0
- package/src/schemas/build/click_v3.schema.json +71 -3
- package/src/schemas/build/find_v3.schema.json +77 -4
- package/src/schemas/build/screenshot_v3.schema.json +68 -0
- package/src/schemas/build/type_v3.schema.json +47 -0
- package/src/schemas/output_schemas/click_v3.schema.json +142 -6
- package/src/schemas/output_schemas/config_v3.schema.json +2146 -66
- package/src/schemas/output_schemas/find_v3.schema.json +626 -20
- package/src/schemas/output_schemas/report_v3.schema.json +2139 -59
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +4304 -144
- package/src/schemas/output_schemas/screenshot_v3.schema.json +204 -0
- package/src/schemas/output_schemas/spec_v3.schema.json +2139 -59
- package/src/schemas/output_schemas/step_v3.schema.json +1075 -35
- package/src/schemas/output_schemas/test_v3.schema.json +2139 -59
- package/src/schemas/output_schemas/type_v3.schema.json +94 -0
- package/src/schemas/schemas.json +14926 -366
- package/src/schemas/src_schemas/click_v3.schema.json +71 -3
- package/src/schemas/src_schemas/find_v3.schema.json +77 -4
- package/src/schemas/src_schemas/screenshot_v3.schema.json +68 -0
- package/src/schemas/src_schemas/type_v3.schema.json +47 -0
|
@@ -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
|
+
"oneOf": [
|
|
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
|
+
"oneOf": [
|
|
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
|
+
"oneOf": [
|
|
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
|
+
"oneOf": [
|
|
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
|
+
"oneOf": [
|
|
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
|
+
"oneOf": [
|
|
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
|
{
|