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.
Files changed (48) hide show
  1. package/dist/schemas/checkLink_v3.schema.json +2 -2
  2. package/dist/schemas/click_v3.schema.json +142 -6
  3. package/dist/schemas/config_v3.schema.json +2257 -151
  4. package/dist/schemas/find_v3.schema.json +647 -28
  5. package/dist/schemas/httpRequest_v3.schema.json +2 -2
  6. package/dist/schemas/report_v3.schema.json +2264 -158
  7. package/dist/schemas/resolvedTests_v3.schema.json +4478 -266
  8. package/dist/schemas/runCode_v3.schema.json +4 -4
  9. package/dist/schemas/runShell_v3.schema.json +4 -4
  10. package/dist/schemas/screenshot_v3.schema.json +204 -0
  11. package/dist/schemas/spec_v3.schema.json +2264 -158
  12. package/dist/schemas/step_v3.schema.json +1114 -61
  13. package/dist/schemas/test_v3.schema.json +2253 -147
  14. package/dist/schemas/type_v3.schema.json +98 -4
  15. package/package.json +1 -1
  16. package/src/schemas/build/checkLink_v3.schema.json +1 -1
  17. package/src/schemas/build/click_v3.schema.json +71 -3
  18. package/src/schemas/build/find_v3.schema.json +90 -4
  19. package/src/schemas/build/httpRequest_v3.schema.json +1 -1
  20. package/src/schemas/build/runCode_v3.schema.json +2 -2
  21. package/src/schemas/build/runShell_v3.schema.json +2 -2
  22. package/src/schemas/build/screenshot_v3.schema.json +68 -0
  23. package/src/schemas/build/test_v3.schema.json +1 -1
  24. package/src/schemas/build/type_v3.schema.json +48 -1
  25. package/src/schemas/output_schemas/checkLink_v3.schema.json +2 -2
  26. package/src/schemas/output_schemas/click_v3.schema.json +142 -6
  27. package/src/schemas/output_schemas/config_v3.schema.json +2257 -151
  28. package/src/schemas/output_schemas/find_v3.schema.json +647 -28
  29. package/src/schemas/output_schemas/httpRequest_v3.schema.json +2 -2
  30. package/src/schemas/output_schemas/report_v3.schema.json +2264 -158
  31. package/src/schemas/output_schemas/resolvedTests_v3.schema.json +4478 -266
  32. package/src/schemas/output_schemas/runCode_v3.schema.json +4 -4
  33. package/src/schemas/output_schemas/runShell_v3.schema.json +4 -4
  34. package/src/schemas/output_schemas/screenshot_v3.schema.json +204 -0
  35. package/src/schemas/output_schemas/spec_v3.schema.json +2264 -158
  36. package/src/schemas/output_schemas/step_v3.schema.json +1114 -61
  37. package/src/schemas/output_schemas/test_v3.schema.json +2253 -147
  38. package/src/schemas/output_schemas/type_v3.schema.json +98 -4
  39. package/src/schemas/schemas.json +15467 -725
  40. package/src/schemas/src_schemas/checkLink_v3.schema.json +1 -1
  41. package/src/schemas/src_schemas/click_v3.schema.json +71 -3
  42. package/src/schemas/src_schemas/find_v3.schema.json +87 -4
  43. package/src/schemas/src_schemas/httpRequest_v3.schema.json +1 -1
  44. package/src/schemas/src_schemas/runCode_v3.schema.json +2 -2
  45. package/src/schemas/src_schemas/runShell_v3.schema.json +2 -2
  46. package/src/schemas/src_schemas/screenshot_v3.schema.json +68 -0
  47. package/src/schemas/src_schemas/test_v3.schema.json +1 -1
  48. package/src/schemas/src_schemas/type_v3.schema.json +48 -1
@@ -44,7 +44,7 @@
44
44
  {
45
45
  "type": "array",
46
46
  "items": {
47
- "oneOf": [
47
+ "anyOf": [
48
48
  {
49
49
  "type": "integer"
50
50
  }
@@ -107,7 +107,7 @@
107
107
  {
108
108
  "type": "array",
109
109
  "items": {
110
- "oneOf": [
110
+ "anyOf": [
111
111
  {
112
112
  "type": "integer"
113
113
  }
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "title": "Click element (simple)",
8
8
  "type": "string",
9
- "description": "Display text or selector of the element to find."
9
+ "description": "Identifier for the element to click. Can be a selector, element text, ARIA name, ID, or test ID."
10
10
  },
11
11
  {
12
12
  "title": "Click element (detailed)",
@@ -21,6 +21,31 @@
21
21
  "required": [
22
22
  "elementText"
23
23
  ]
24
+ },
25
+ {
26
+ "required": [
27
+ "elementId"
28
+ ]
29
+ },
30
+ {
31
+ "required": [
32
+ "elementTestId"
33
+ ]
34
+ },
35
+ {
36
+ "required": [
37
+ "elementClass"
38
+ ]
39
+ },
40
+ {
41
+ "required": [
42
+ "elementAttribute"
43
+ ]
44
+ },
45
+ {
46
+ "required": [
47
+ "elementAria"
48
+ ]
24
49
  }
25
50
  ],
26
51
  "properties": {
@@ -35,11 +60,54 @@
35
60
  },
36
61
  "elementText": {
37
62
  "type": "string",
38
- "description": "Display text of the element to click. If combined with `selector`, the element must match both the text and the selector."
63
+ "description": "Display text of the element to click. If combined with other element finding fields, the element must match all specified criteria."
39
64
  },
40
65
  "selector": {
41
66
  "type": "string",
42
- "description": "Selector of the element to click. If combined with `elementText`, the element must match both the text and the selector."
67
+ "description": "Selector of the element to click. If combined with other element finding fields, the element must match all specified criteria."
68
+ },
69
+ "elementId": {
70
+ "type": "string",
71
+ "description": "ID attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
72
+ },
73
+ "elementTestId": {
74
+ "type": "string",
75
+ "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
76
+ },
77
+ "elementClass": {
78
+ "anyOf": [
79
+ {
80
+ "type": "string"
81
+ },
82
+ {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "string"
86
+ }
87
+ }
88
+ ],
89
+ "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."
90
+ },
91
+ "elementAttribute": {
92
+ "type": "object",
93
+ "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.",
94
+ "additionalProperties": {
95
+ "anyOf": [
96
+ {
97
+ "type": "string"
98
+ },
99
+ {
100
+ "type": "number"
101
+ },
102
+ {
103
+ "type": "boolean"
104
+ }
105
+ ]
106
+ }
107
+ },
108
+ "elementAria": {
109
+ "type": "string",
110
+ "description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
43
111
  }
44
112
  }
45
113
  },
@@ -52,7 +120,7 @@
52
120
  "string": {
53
121
  "title": "Click element (simple)",
54
122
  "type": "string",
55
- "description": "Display text or selector of the element to find."
123
+ "description": "Identifier for the element to click. Can be a selector, element text, ARIA name, ID, or test ID."
56
124
  },
57
125
  "button": {
58
126
  "description": "Kind of click to perform.",
@@ -76,6 +144,31 @@
76
144
  "required": [
77
145
  "elementText"
78
146
  ]
147
+ },
148
+ {
149
+ "required": [
150
+ "elementId"
151
+ ]
152
+ },
153
+ {
154
+ "required": [
155
+ "elementTestId"
156
+ ]
157
+ },
158
+ {
159
+ "required": [
160
+ "elementClass"
161
+ ]
162
+ },
163
+ {
164
+ "required": [
165
+ "elementAttribute"
166
+ ]
167
+ },
168
+ {
169
+ "required": [
170
+ "elementAria"
171
+ ]
79
172
  }
80
173
  ],
81
174
  "properties": {
@@ -90,11 +183,54 @@
90
183
  },
91
184
  "elementText": {
92
185
  "type": "string",
93
- "description": "Display text of the element to click. If combined with `selector`, the element must match both the text and the selector."
186
+ "description": "Display text of the element to click. If combined with other element finding fields, the element must match all specified criteria."
94
187
  },
95
188
  "selector": {
96
189
  "type": "string",
97
- "description": "Selector of the element to click. If combined with `elementText`, the element must match both the text and the selector."
190
+ "description": "Selector of the element to click. If combined with other element finding fields, the element must match all specified criteria."
191
+ },
192
+ "elementId": {
193
+ "type": "string",
194
+ "description": "ID attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
195
+ },
196
+ "elementTestId": {
197
+ "type": "string",
198
+ "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
199
+ },
200
+ "elementClass": {
201
+ "anyOf": [
202
+ {
203
+ "type": "string"
204
+ },
205
+ {
206
+ "type": "array",
207
+ "items": {
208
+ "type": "string"
209
+ }
210
+ }
211
+ ],
212
+ "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."
213
+ },
214
+ "elementAttribute": {
215
+ "type": "object",
216
+ "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.",
217
+ "additionalProperties": {
218
+ "anyOf": [
219
+ {
220
+ "type": "string"
221
+ },
222
+ {
223
+ "type": "number"
224
+ },
225
+ {
226
+ "type": "boolean"
227
+ }
228
+ ]
229
+ }
230
+ },
231
+ "elementAria": {
232
+ "type": "string",
233
+ "description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
98
234
  }
99
235
  }
100
236
  }