doc-detective-common 4.0.0-beta.0-dev.7 → 4.0.0-beta.0-dev.8
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/detectTests.d.ts +17 -22
- package/dist/detectTests.d.ts.map +1 -1
- package/dist/detectTests.js +81 -4
- package/dist/detectTests.js.map +1 -1
- package/dist/fileTypes.d.ts +35 -0
- package/dist/fileTypes.d.ts.map +1 -0
- package/dist/fileTypes.js +293 -0
- package/dist/fileTypes.js.map +1 -0
- package/dist/index.cjs +7288 -162
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/schemas.json +6786 -0
- package/dist/types/generated/step_v3.d.ts +288 -0
- package/dist/types/generated/step_v3.d.ts.map +1 -1
- package/dist/types/generated/test_v3.d.ts +576 -0
- package/dist/types/generated/test_v3.d.ts.map +1 -1
- package/package.json +4 -3
- package/dist/schemas/checkLink_v3.schema.json +0 -145
- package/dist/schemas/click_v3.schema.json +0 -252
- package/dist/schemas/config_v3.schema.json +0 -16470
- package/dist/schemas/context_v3.schema.json +0 -374
- package/dist/schemas/dragAndDrop_v3.schema.json +0 -496
- package/dist/schemas/find_v3.schema.json +0 -1349
- package/dist/schemas/goTo_v3.schema.json +0 -419
- package/dist/schemas/httpRequest_v3.schema.json +0 -994
- package/dist/schemas/loadCookie_v3.schema.json +0 -228
- package/dist/schemas/loadVariables_v3.schema.json +0 -9
- package/dist/schemas/openApi_v3.schema.json +0 -162
- package/dist/schemas/record_v3.schema.json +0 -101
- package/dist/schemas/report_v3.schema.json +0 -16826
- package/dist/schemas/resolvedTests_v3.schema.json +0 -33331
- package/dist/schemas/runCode_v3.schema.json +0 -222
- package/dist/schemas/runShell_v3.schema.json +0 -236
- package/dist/schemas/saveCookie_v3.schema.json +0 -245
- package/dist/schemas/screenshot_v3.schema.json +0 -681
- package/dist/schemas/sourceIntegration_v3.schema.json +0 -50
- package/dist/schemas/spec_v3.schema.json +0 -16630
- package/dist/schemas/step_v3.schema.json +0 -7317
- package/dist/schemas/stopRecord_v3.schema.json +0 -12
- package/dist/schemas/test_v3.schema.json +0 -15863
- package/dist/schemas/type_v3.schema.json +0 -244
- package/dist/schemas/wait_v3.schema.json +0 -41
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "typeKeys",
|
|
4
|
-
"description": "Type keys. To type special keys, begin and end the string with `$` and use the special key's keyword. For example, to type the Escape key, enter `$ESCAPE$`.",
|
|
5
|
-
"anyOf": [
|
|
6
|
-
{
|
|
7
|
-
"title": "Type keys (simple)",
|
|
8
|
-
"description": "Sequence of keys to enter.",
|
|
9
|
-
"anyOf": [
|
|
10
|
-
{
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"type": "array",
|
|
15
|
-
"items": {
|
|
16
|
-
"anyOf": [
|
|
17
|
-
{
|
|
18
|
-
"type": "string"
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"title": "Type keys (detailed)",
|
|
27
|
-
"type": "object",
|
|
28
|
-
"properties": {
|
|
29
|
-
"keys": {
|
|
30
|
-
"title": "Type keys (simple)",
|
|
31
|
-
"description": "Sequence of keys to enter.",
|
|
32
|
-
"anyOf": [
|
|
33
|
-
{
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "array",
|
|
38
|
-
"items": {
|
|
39
|
-
"anyOf": [
|
|
40
|
-
{
|
|
41
|
-
"type": "string"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"inputDelay": {
|
|
49
|
-
"type": "number",
|
|
50
|
-
"description": "Delay in milliseconds between each key press during a recording",
|
|
51
|
-
"default": 100
|
|
52
|
-
},
|
|
53
|
-
"selector": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"description": "Selector for the element to type into. If not specified, the typing occurs in the active element."
|
|
56
|
-
},
|
|
57
|
-
"elementText": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "Display text of the element to type into. If combined with other element finding fields, the element must match all specified criteria."
|
|
60
|
-
},
|
|
61
|
-
"elementId": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "ID attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
64
|
-
},
|
|
65
|
-
"elementTestId": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
68
|
-
},
|
|
69
|
-
"elementClass": {
|
|
70
|
-
"anyOf": [
|
|
71
|
-
{
|
|
72
|
-
"type": "string"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"type": "array",
|
|
76
|
-
"items": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"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."
|
|
82
|
-
},
|
|
83
|
-
"elementAttribute": {
|
|
84
|
-
"type": "object",
|
|
85
|
-
"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.",
|
|
86
|
-
"additionalProperties": {
|
|
87
|
-
"anyOf": [
|
|
88
|
-
{
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"type": "number"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"type": "boolean"
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"elementAria": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"required": [
|
|
106
|
-
"keys"
|
|
107
|
-
],
|
|
108
|
-
"additionalProperties": false
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"components": {
|
|
112
|
-
"schemas": {
|
|
113
|
-
"keys": {
|
|
114
|
-
"title": "Type keys (simple)",
|
|
115
|
-
"description": "Sequence of keys to enter.",
|
|
116
|
-
"anyOf": [
|
|
117
|
-
{
|
|
118
|
-
"type": "string"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"type": "array",
|
|
122
|
-
"items": {
|
|
123
|
-
"anyOf": [
|
|
124
|
-
{
|
|
125
|
-
"type": "string"
|
|
126
|
-
}
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
"object": {
|
|
133
|
-
"title": "Type keys (detailed)",
|
|
134
|
-
"type": "object",
|
|
135
|
-
"properties": {
|
|
136
|
-
"keys": {
|
|
137
|
-
"title": "Type keys (simple)",
|
|
138
|
-
"description": "Sequence of keys to enter.",
|
|
139
|
-
"anyOf": [
|
|
140
|
-
{
|
|
141
|
-
"type": "string"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"type": "array",
|
|
145
|
-
"items": {
|
|
146
|
-
"anyOf": [
|
|
147
|
-
{
|
|
148
|
-
"type": "string"
|
|
149
|
-
}
|
|
150
|
-
]
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
"inputDelay": {
|
|
156
|
-
"type": "number",
|
|
157
|
-
"description": "Delay in milliseconds between each key press during a recording",
|
|
158
|
-
"default": 100
|
|
159
|
-
},
|
|
160
|
-
"selector": {
|
|
161
|
-
"type": "string",
|
|
162
|
-
"description": "Selector for the element to type into. If not specified, the typing occurs in the active element."
|
|
163
|
-
},
|
|
164
|
-
"elementText": {
|
|
165
|
-
"type": "string",
|
|
166
|
-
"description": "Display text of the element to type into. If combined with other element finding fields, the element must match all specified criteria."
|
|
167
|
-
},
|
|
168
|
-
"elementId": {
|
|
169
|
-
"type": "string",
|
|
170
|
-
"description": "ID attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
171
|
-
},
|
|
172
|
-
"elementTestId": {
|
|
173
|
-
"type": "string",
|
|
174
|
-
"description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
|
|
175
|
-
},
|
|
176
|
-
"elementClass": {
|
|
177
|
-
"anyOf": [
|
|
178
|
-
{
|
|
179
|
-
"type": "string"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"type": "array",
|
|
183
|
-
"items": {
|
|
184
|
-
"type": "string"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
],
|
|
188
|
-
"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."
|
|
189
|
-
},
|
|
190
|
-
"elementAttribute": {
|
|
191
|
-
"type": "object",
|
|
192
|
-
"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.",
|
|
193
|
-
"additionalProperties": {
|
|
194
|
-
"anyOf": [
|
|
195
|
-
{
|
|
196
|
-
"type": "string"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"type": "number"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"type": "boolean"
|
|
203
|
-
}
|
|
204
|
-
]
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"elementAria": {
|
|
208
|
-
"type": "string",
|
|
209
|
-
"description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"required": [
|
|
213
|
-
"keys"
|
|
214
|
-
],
|
|
215
|
-
"additionalProperties": false
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"examples": [
|
|
220
|
-
"kittens",
|
|
221
|
-
[
|
|
222
|
-
"$ENTER$"
|
|
223
|
-
],
|
|
224
|
-
[
|
|
225
|
-
"kittens",
|
|
226
|
-
"$ENTER$"
|
|
227
|
-
],
|
|
228
|
-
{
|
|
229
|
-
"keys": "kittens"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"keys": [
|
|
233
|
-
"$ENTER$"
|
|
234
|
-
]
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"keys": [
|
|
238
|
-
"kittens",
|
|
239
|
-
"$ENTER$"
|
|
240
|
-
],
|
|
241
|
-
"inputDelay": 500
|
|
242
|
-
}
|
|
243
|
-
]
|
|
244
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "wait",
|
|
4
|
-
"description": "Pause (in milliseconds) before performing the next action.",
|
|
5
|
-
"default": 5000,
|
|
6
|
-
"anyOf": [
|
|
7
|
-
{
|
|
8
|
-
"type": "number",
|
|
9
|
-
"title": "Wait (simple)"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"title": "Wait (environment variable)",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "^\\$[A-Za-z0-9_]+$",
|
|
15
|
-
"transform": [
|
|
16
|
-
"trim"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "boolean",
|
|
21
|
-
"title": "Wait (boolean)"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"components": {
|
|
25
|
-
"schemas": {
|
|
26
|
-
"string": {
|
|
27
|
-
"title": "Wait (environment variable)",
|
|
28
|
-
"type": "string",
|
|
29
|
-
"pattern": "^\\$[A-Za-z0-9_]+$",
|
|
30
|
-
"transform": [
|
|
31
|
-
"trim"
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"examples": [
|
|
37
|
-
5000,
|
|
38
|
-
"$WAIT_DURATION",
|
|
39
|
-
true
|
|
40
|
-
]
|
|
41
|
-
}
|