doc-detective-common 3.0.0-dev.0 → 3.0.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/LICENSE +661 -21
- package/package.json +6 -6
- package/src/files.js +31 -20
- package/src/index.js +2 -1
- package/src/resolvePaths.js +46 -42
- package/src/schemas/output_schemas/config_v3.schema.json +462 -388
- package/src/schemas/output_schemas/context_v3.schema.json +195 -162
- package/src/schemas/output_schemas/httpRequest_v3.schema.json +40 -18
- package/src/schemas/output_schemas/openApi_v3.schema.json +2 -2
- package/src/schemas/output_schemas/report_v3.schema.json +459 -383
- package/src/schemas/output_schemas/spec_v3.schema.json +452 -370
- package/src/schemas/output_schemas/step_v3.schema.json +44 -22
- package/src/schemas/output_schemas/test_v3.schema.json +247 -192
- package/src/schemas/schemas.json +1991 -1627
- package/src/schemas/src_schemas/config_v3.schema.json +22 -27
- package/src/schemas/src_schemas/context_v3.schema.json +88 -64
- package/src/schemas/src_schemas/httpRequest_v3.schema.json +19 -9
- package/src/schemas/src_schemas/openApi_v3.schema.json +2 -2
- package/src/schemas/src_schemas/spec_v3.schema.json +12 -30
- package/src/schemas/src_schemas/test_v3.schema.json +6 -6
- package/src/validate.js +44 -30
- package/test/files.test.js +8 -8
|
@@ -28,9 +28,16 @@
|
|
|
28
28
|
"type": "object",
|
|
29
29
|
"description": "A context in which to perform tests. If no contexts are specified but a context is required by one or more tests, Doc Detective attempts to identify a supported context in the current environment and run tests against it. For example, if a browser isn't specified but is required by steps in the test, Doc Detective will search for and use a supported browser available in the current environment.",
|
|
30
30
|
"additionalProperties": false,
|
|
31
|
+
"dynamicDefaults": {
|
|
32
|
+
"contextId": "uuid"
|
|
33
|
+
},
|
|
31
34
|
"properties": {
|
|
35
|
+
"contextId": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Unique identifier for the context."
|
|
38
|
+
},
|
|
32
39
|
"platforms": {
|
|
33
|
-
"description": "
|
|
40
|
+
"description": "Platforms to run tests on.",
|
|
34
41
|
"anyOf": [
|
|
35
42
|
{
|
|
36
43
|
"type": "string",
|
|
@@ -53,124 +60,45 @@
|
|
|
53
60
|
}
|
|
54
61
|
]
|
|
55
62
|
},
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
"properties": {
|
|
61
|
-
"executablePath": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
64
|
-
},
|
|
65
|
-
"driverPath": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"description": "Path to the browser driver. If not specified, defaults to internally managed dependencies."
|
|
68
|
-
},
|
|
69
|
-
"headless": {
|
|
70
|
-
"type": "boolean",
|
|
71
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
72
|
-
},
|
|
73
|
-
"dimensions": {
|
|
74
|
-
"type": "object",
|
|
75
|
-
"description": "Browser dimensions.",
|
|
76
|
-
"additionalProperties": false,
|
|
77
|
-
"properties": {
|
|
78
|
-
"width": {
|
|
79
|
-
"type": "integer",
|
|
80
|
-
"description": "Width of the browser window in pixels."
|
|
81
|
-
},
|
|
82
|
-
"height": {
|
|
83
|
-
"type": "integer",
|
|
84
|
-
"description": "Height of the browser window in pixels."
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"viewport": {
|
|
89
|
-
"type": "object",
|
|
90
|
-
"description": "Viewport dimensions.",
|
|
91
|
-
"additionalProperties": false,
|
|
92
|
-
"properties": {
|
|
93
|
-
"width": {
|
|
94
|
-
"type": "integer",
|
|
95
|
-
"description": "Width of the viewport in pixels."
|
|
96
|
-
},
|
|
97
|
-
"height": {
|
|
98
|
-
"type": "integer",
|
|
99
|
-
"description": "Height of the viewport in pixels."
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"firefox": {
|
|
106
|
-
"type": "object",
|
|
107
|
-
"description": "Browser configuration.",
|
|
108
|
-
"additionalProperties": false,
|
|
109
|
-
"properties": {
|
|
110
|
-
"executablePath": {
|
|
111
|
-
"type": "string",
|
|
112
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
113
|
-
},
|
|
114
|
-
"driverPath": {
|
|
63
|
+
"browsers": {
|
|
64
|
+
"description": "Browsers to run tests on.",
|
|
65
|
+
"anyOf": [
|
|
66
|
+
{
|
|
115
67
|
"type": "string",
|
|
116
|
-
"description": "
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
"description": "Browser dimensions.",
|
|
125
|
-
"additionalProperties": false,
|
|
126
|
-
"properties": {
|
|
127
|
-
"width": {
|
|
128
|
-
"type": "integer",
|
|
129
|
-
"description": "Width of the browser window in pixels."
|
|
130
|
-
},
|
|
131
|
-
"height": {
|
|
132
|
-
"type": "integer",
|
|
133
|
-
"description": "Height of the browser window in pixels."
|
|
134
|
-
}
|
|
135
|
-
}
|
|
68
|
+
"description": "Name of the browser.",
|
|
69
|
+
"enum": [
|
|
70
|
+
"chrome",
|
|
71
|
+
"firefox",
|
|
72
|
+
"safari",
|
|
73
|
+
"webkit"
|
|
74
|
+
],
|
|
75
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
136
76
|
},
|
|
137
|
-
"viewport": {
|
|
138
|
-
"type": "object",
|
|
139
|
-
"description": "Viewport dimensions.",
|
|
140
|
-
"additionalProperties": false,
|
|
141
|
-
"properties": {
|
|
142
|
-
"width": {
|
|
143
|
-
"type": "integer",
|
|
144
|
-
"description": "Width of the viewport in pixels."
|
|
145
|
-
},
|
|
146
|
-
"height": {
|
|
147
|
-
"type": "integer",
|
|
148
|
-
"description": "Height of the viewport in pixels."
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"safari": {
|
|
155
|
-
"allOf": [
|
|
156
77
|
{
|
|
157
78
|
"type": "object",
|
|
158
79
|
"description": "Browser configuration.",
|
|
80
|
+
"required": [
|
|
81
|
+
"name"
|
|
82
|
+
],
|
|
159
83
|
"additionalProperties": false,
|
|
160
84
|
"properties": {
|
|
161
|
-
"
|
|
85
|
+
"name": {
|
|
162
86
|
"type": "string",
|
|
163
|
-
"description": "
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
87
|
+
"description": "Name of the browser.",
|
|
88
|
+
"enum": [
|
|
89
|
+
"chrome",
|
|
90
|
+
"firefox",
|
|
91
|
+
"safari",
|
|
92
|
+
"webkit"
|
|
93
|
+
],
|
|
94
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
168
95
|
},
|
|
169
96
|
"headless": {
|
|
170
97
|
"type": "boolean",
|
|
171
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
98
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
99
|
+
"default": true
|
|
172
100
|
},
|
|
173
|
-
"
|
|
101
|
+
"window": {
|
|
174
102
|
"type": "object",
|
|
175
103
|
"description": "Browser dimensions.",
|
|
176
104
|
"additionalProperties": false,
|
|
@@ -203,10 +131,76 @@
|
|
|
203
131
|
}
|
|
204
132
|
},
|
|
205
133
|
{
|
|
206
|
-
"type": "
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": {
|
|
136
|
+
"anyOf": [
|
|
137
|
+
{
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Name of the browser.",
|
|
140
|
+
"enum": [
|
|
141
|
+
"chrome",
|
|
142
|
+
"firefox",
|
|
143
|
+
"safari",
|
|
144
|
+
"webkit"
|
|
145
|
+
],
|
|
146
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "object",
|
|
150
|
+
"description": "Browser configuration.",
|
|
151
|
+
"required": [
|
|
152
|
+
"name"
|
|
153
|
+
],
|
|
154
|
+
"additionalProperties": false,
|
|
155
|
+
"properties": {
|
|
156
|
+
"name": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "Name of the browser.",
|
|
159
|
+
"enum": [
|
|
160
|
+
"chrome",
|
|
161
|
+
"firefox",
|
|
162
|
+
"safari",
|
|
163
|
+
"webkit"
|
|
164
|
+
],
|
|
165
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
166
|
+
},
|
|
167
|
+
"headless": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
170
|
+
"default": true
|
|
171
|
+
},
|
|
172
|
+
"window": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"description": "Browser dimensions.",
|
|
175
|
+
"additionalProperties": false,
|
|
176
|
+
"properties": {
|
|
177
|
+
"width": {
|
|
178
|
+
"type": "integer",
|
|
179
|
+
"description": "Width of the browser window in pixels."
|
|
180
|
+
},
|
|
181
|
+
"height": {
|
|
182
|
+
"type": "integer",
|
|
183
|
+
"description": "Height of the browser window in pixels."
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"viewport": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"description": "Viewport dimensions.",
|
|
190
|
+
"additionalProperties": false,
|
|
191
|
+
"properties": {
|
|
192
|
+
"width": {
|
|
193
|
+
"type": "integer",
|
|
194
|
+
"description": "Width of the viewport in pixels."
|
|
195
|
+
},
|
|
196
|
+
"height": {
|
|
197
|
+
"type": "integer",
|
|
198
|
+
"description": "Height of the viewport in pixels."
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
210
204
|
]
|
|
211
205
|
}
|
|
212
206
|
}
|
|
@@ -223,24 +217,42 @@
|
|
|
223
217
|
"windows"
|
|
224
218
|
]
|
|
225
219
|
},
|
|
220
|
+
"browserName": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"description": "Name of the browser.",
|
|
223
|
+
"enum": [
|
|
224
|
+
"chrome",
|
|
225
|
+
"firefox",
|
|
226
|
+
"safari",
|
|
227
|
+
"webkit"
|
|
228
|
+
],
|
|
229
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
230
|
+
},
|
|
226
231
|
"browser": {
|
|
227
232
|
"type": "object",
|
|
228
233
|
"description": "Browser configuration.",
|
|
234
|
+
"required": [
|
|
235
|
+
"name"
|
|
236
|
+
],
|
|
229
237
|
"additionalProperties": false,
|
|
230
238
|
"properties": {
|
|
231
|
-
"
|
|
239
|
+
"name": {
|
|
232
240
|
"type": "string",
|
|
233
|
-
"description": "
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
241
|
+
"description": "Name of the browser.",
|
|
242
|
+
"enum": [
|
|
243
|
+
"chrome",
|
|
244
|
+
"firefox",
|
|
245
|
+
"safari",
|
|
246
|
+
"webkit"
|
|
247
|
+
],
|
|
248
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
238
249
|
},
|
|
239
250
|
"headless": {
|
|
240
251
|
"type": "boolean",
|
|
241
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
252
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
253
|
+
"default": true
|
|
242
254
|
},
|
|
243
|
-
"
|
|
255
|
+
"window": {
|
|
244
256
|
"type": "object",
|
|
245
257
|
"description": "Browser dimensions.",
|
|
246
258
|
"additionalProperties": false,
|
|
@@ -276,26 +288,45 @@
|
|
|
276
288
|
},
|
|
277
289
|
"examples": [
|
|
278
290
|
{
|
|
279
|
-
"
|
|
280
|
-
|
|
281
|
-
}
|
|
291
|
+
"platforms": "linux",
|
|
292
|
+
"browsers": "chrome"
|
|
282
293
|
},
|
|
283
294
|
{
|
|
284
|
-
"
|
|
285
|
-
"
|
|
295
|
+
"platforms": [
|
|
296
|
+
"windows",
|
|
297
|
+
"mac",
|
|
298
|
+
"linux"
|
|
299
|
+
],
|
|
300
|
+
"browsers": [
|
|
301
|
+
"chrome",
|
|
302
|
+
"firefox",
|
|
303
|
+
"webkit"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"browsers": {
|
|
308
|
+
"name": "chrome",
|
|
286
309
|
"headless": true
|
|
287
|
-
},
|
|
288
|
-
"firefox": {
|
|
289
|
-
"executablePath": "/usr/bin/firefox",
|
|
290
|
-
"driverPath": "/usr/local/bin/geckodriver"
|
|
291
310
|
}
|
|
292
311
|
},
|
|
312
|
+
{
|
|
313
|
+
"browsers": [
|
|
314
|
+
{
|
|
315
|
+
"name": "chrome",
|
|
316
|
+
"headless": true
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "firefox"
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
},
|
|
293
323
|
{
|
|
294
324
|
"platforms": [
|
|
295
325
|
"mac",
|
|
296
326
|
"linux"
|
|
297
327
|
],
|
|
298
|
-
"
|
|
328
|
+
"browsers": {
|
|
329
|
+
"name": "chrome",
|
|
299
330
|
"headless": true
|
|
300
331
|
}
|
|
301
332
|
},
|
|
@@ -305,45 +336,47 @@
|
|
|
305
336
|
"mac",
|
|
306
337
|
"linux"
|
|
307
338
|
],
|
|
308
|
-
"
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
339
|
+
"browsers": [
|
|
340
|
+
{
|
|
341
|
+
"name": "chrome",
|
|
342
|
+
"headless": true,
|
|
343
|
+
"window": {
|
|
344
|
+
"width": 1920,
|
|
345
|
+
"height": 1080
|
|
346
|
+
},
|
|
347
|
+
"viewport": {
|
|
348
|
+
"width": 1600,
|
|
349
|
+
"height": 900
|
|
350
|
+
}
|
|
315
351
|
},
|
|
316
|
-
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
"
|
|
326
|
-
"
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
"executablePath": "/Applications/Safari.app/Contents/MacOS/Safari",
|
|
331
|
-
"headless": false,
|
|
332
|
-
"viewport": {
|
|
333
|
-
"width": 1440,
|
|
334
|
-
"height": 900
|
|
352
|
+
{
|
|
353
|
+
"name": "firefox",
|
|
354
|
+
"window": {
|
|
355
|
+
"width": 1366,
|
|
356
|
+
"height": 768
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "webkit",
|
|
361
|
+
"headless": false,
|
|
362
|
+
"viewport": {
|
|
363
|
+
"width": 1440,
|
|
364
|
+
"height": 900
|
|
365
|
+
}
|
|
335
366
|
}
|
|
336
|
-
|
|
367
|
+
]
|
|
337
368
|
},
|
|
338
369
|
{
|
|
339
370
|
"platforms": "mac",
|
|
340
|
-
"
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
"
|
|
344
|
-
|
|
371
|
+
"browsers": [
|
|
372
|
+
{
|
|
373
|
+
"name": "safari",
|
|
374
|
+
"window": {
|
|
375
|
+
"width": 1280,
|
|
376
|
+
"height": 800
|
|
377
|
+
}
|
|
345
378
|
}
|
|
346
|
-
|
|
379
|
+
]
|
|
347
380
|
}
|
|
348
381
|
]
|
|
349
382
|
}
|
|
@@ -362,7 +395,7 @@
|
|
|
362
395
|
"description": "OpenAPI description and configuration.",
|
|
363
396
|
"additionalProperties": false,
|
|
364
397
|
"properties": {
|
|
365
|
-
"
|
|
398
|
+
"name": {
|
|
366
399
|
"type": "string",
|
|
367
400
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
368
401
|
},
|
|
@@ -440,7 +473,7 @@
|
|
|
440
473
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
441
474
|
},
|
|
442
475
|
{
|
|
443
|
-
"
|
|
476
|
+
"name": "Reqres",
|
|
444
477
|
"operationId": "getUserById"
|
|
445
478
|
},
|
|
446
479
|
{
|
|
@@ -504,7 +537,7 @@
|
|
|
504
537
|
]
|
|
505
538
|
},
|
|
506
539
|
"required": [
|
|
507
|
-
"
|
|
540
|
+
"name",
|
|
508
541
|
"descriptionPath"
|
|
509
542
|
]
|
|
510
543
|
}
|
|
@@ -550,9 +583,16 @@
|
|
|
550
583
|
"type": "object",
|
|
551
584
|
"description": "A context in which to perform tests. If no contexts are specified but a context is required by one or more tests, Doc Detective attempts to identify a supported context in the current environment and run tests against it. For example, if a browser isn't specified but is required by steps in the test, Doc Detective will search for and use a supported browser available in the current environment.",
|
|
552
585
|
"additionalProperties": false,
|
|
586
|
+
"dynamicDefaults": {
|
|
587
|
+
"contextId": "uuid"
|
|
588
|
+
},
|
|
553
589
|
"properties": {
|
|
590
|
+
"contextId": {
|
|
591
|
+
"type": "string",
|
|
592
|
+
"description": "Unique identifier for the context."
|
|
593
|
+
},
|
|
554
594
|
"platforms": {
|
|
555
|
-
"description": "
|
|
595
|
+
"description": "Platforms to run tests on.",
|
|
556
596
|
"anyOf": [
|
|
557
597
|
{
|
|
558
598
|
"type": "string",
|
|
@@ -575,124 +615,45 @@
|
|
|
575
615
|
}
|
|
576
616
|
]
|
|
577
617
|
},
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
|
|
582
|
-
"properties": {
|
|
583
|
-
"executablePath": {
|
|
584
|
-
"type": "string",
|
|
585
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
586
|
-
},
|
|
587
|
-
"driverPath": {
|
|
588
|
-
"type": "string",
|
|
589
|
-
"description": "Path to the browser driver. If not specified, defaults to internally managed dependencies."
|
|
590
|
-
},
|
|
591
|
-
"headless": {
|
|
592
|
-
"type": "boolean",
|
|
593
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
594
|
-
},
|
|
595
|
-
"dimensions": {
|
|
596
|
-
"type": "object",
|
|
597
|
-
"description": "Browser dimensions.",
|
|
598
|
-
"additionalProperties": false,
|
|
599
|
-
"properties": {
|
|
600
|
-
"width": {
|
|
601
|
-
"type": "integer",
|
|
602
|
-
"description": "Width of the browser window in pixels."
|
|
603
|
-
},
|
|
604
|
-
"height": {
|
|
605
|
-
"type": "integer",
|
|
606
|
-
"description": "Height of the browser window in pixels."
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
"viewport": {
|
|
611
|
-
"type": "object",
|
|
612
|
-
"description": "Viewport dimensions.",
|
|
613
|
-
"additionalProperties": false,
|
|
614
|
-
"properties": {
|
|
615
|
-
"width": {
|
|
616
|
-
"type": "integer",
|
|
617
|
-
"description": "Width of the viewport in pixels."
|
|
618
|
-
},
|
|
619
|
-
"height": {
|
|
620
|
-
"type": "integer",
|
|
621
|
-
"description": "Height of the viewport in pixels."
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
"firefox": {
|
|
628
|
-
"type": "object",
|
|
629
|
-
"description": "Browser configuration.",
|
|
630
|
-
"additionalProperties": false,
|
|
631
|
-
"properties": {
|
|
632
|
-
"executablePath": {
|
|
633
|
-
"type": "string",
|
|
634
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
635
|
-
},
|
|
636
|
-
"driverPath": {
|
|
618
|
+
"browsers": {
|
|
619
|
+
"description": "Browsers to run tests on.",
|
|
620
|
+
"anyOf": [
|
|
621
|
+
{
|
|
637
622
|
"type": "string",
|
|
638
|
-
"description": "
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
"
|
|
646
|
-
"description": "Browser dimensions.",
|
|
647
|
-
"additionalProperties": false,
|
|
648
|
-
"properties": {
|
|
649
|
-
"width": {
|
|
650
|
-
"type": "integer",
|
|
651
|
-
"description": "Width of the browser window in pixels."
|
|
652
|
-
},
|
|
653
|
-
"height": {
|
|
654
|
-
"type": "integer",
|
|
655
|
-
"description": "Height of the browser window in pixels."
|
|
656
|
-
}
|
|
657
|
-
}
|
|
623
|
+
"description": "Name of the browser.",
|
|
624
|
+
"enum": [
|
|
625
|
+
"chrome",
|
|
626
|
+
"firefox",
|
|
627
|
+
"safari",
|
|
628
|
+
"webkit"
|
|
629
|
+
],
|
|
630
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
658
631
|
},
|
|
659
|
-
"viewport": {
|
|
660
|
-
"type": "object",
|
|
661
|
-
"description": "Viewport dimensions.",
|
|
662
|
-
"additionalProperties": false,
|
|
663
|
-
"properties": {
|
|
664
|
-
"width": {
|
|
665
|
-
"type": "integer",
|
|
666
|
-
"description": "Width of the viewport in pixels."
|
|
667
|
-
},
|
|
668
|
-
"height": {
|
|
669
|
-
"type": "integer",
|
|
670
|
-
"description": "Height of the viewport in pixels."
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
},
|
|
676
|
-
"safari": {
|
|
677
|
-
"allOf": [
|
|
678
632
|
{
|
|
679
633
|
"type": "object",
|
|
680
634
|
"description": "Browser configuration.",
|
|
635
|
+
"required": [
|
|
636
|
+
"name"
|
|
637
|
+
],
|
|
681
638
|
"additionalProperties": false,
|
|
682
639
|
"properties": {
|
|
683
|
-
"
|
|
684
|
-
"type": "string",
|
|
685
|
-
"description": "Path to the browser executable. If not specified, defaults to the system default."
|
|
686
|
-
},
|
|
687
|
-
"driverPath": {
|
|
640
|
+
"name": {
|
|
688
641
|
"type": "string",
|
|
689
|
-
"description": "
|
|
642
|
+
"description": "Name of the browser.",
|
|
643
|
+
"enum": [
|
|
644
|
+
"chrome",
|
|
645
|
+
"firefox",
|
|
646
|
+
"safari",
|
|
647
|
+
"webkit"
|
|
648
|
+
],
|
|
649
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
690
650
|
},
|
|
691
651
|
"headless": {
|
|
692
652
|
"type": "boolean",
|
|
693
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
653
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
654
|
+
"default": true
|
|
694
655
|
},
|
|
695
|
-
"
|
|
656
|
+
"window": {
|
|
696
657
|
"type": "object",
|
|
697
658
|
"description": "Browser dimensions.",
|
|
698
659
|
"additionalProperties": false,
|
|
@@ -725,10 +686,76 @@
|
|
|
725
686
|
}
|
|
726
687
|
},
|
|
727
688
|
{
|
|
728
|
-
"type": "
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
|
|
689
|
+
"type": "array",
|
|
690
|
+
"items": {
|
|
691
|
+
"anyOf": [
|
|
692
|
+
{
|
|
693
|
+
"type": "string",
|
|
694
|
+
"description": "Name of the browser.",
|
|
695
|
+
"enum": [
|
|
696
|
+
"chrome",
|
|
697
|
+
"firefox",
|
|
698
|
+
"safari",
|
|
699
|
+
"webkit"
|
|
700
|
+
],
|
|
701
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"type": "object",
|
|
705
|
+
"description": "Browser configuration.",
|
|
706
|
+
"required": [
|
|
707
|
+
"name"
|
|
708
|
+
],
|
|
709
|
+
"additionalProperties": false,
|
|
710
|
+
"properties": {
|
|
711
|
+
"name": {
|
|
712
|
+
"type": "string",
|
|
713
|
+
"description": "Name of the browser.",
|
|
714
|
+
"enum": [
|
|
715
|
+
"chrome",
|
|
716
|
+
"firefox",
|
|
717
|
+
"safari",
|
|
718
|
+
"webkit"
|
|
719
|
+
],
|
|
720
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
721
|
+
},
|
|
722
|
+
"headless": {
|
|
723
|
+
"type": "boolean",
|
|
724
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
725
|
+
"default": true
|
|
726
|
+
},
|
|
727
|
+
"window": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"description": "Browser dimensions.",
|
|
730
|
+
"additionalProperties": false,
|
|
731
|
+
"properties": {
|
|
732
|
+
"width": {
|
|
733
|
+
"type": "integer",
|
|
734
|
+
"description": "Width of the browser window in pixels."
|
|
735
|
+
},
|
|
736
|
+
"height": {
|
|
737
|
+
"type": "integer",
|
|
738
|
+
"description": "Height of the browser window in pixels."
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"viewport": {
|
|
743
|
+
"type": "object",
|
|
744
|
+
"description": "Viewport dimensions.",
|
|
745
|
+
"additionalProperties": false,
|
|
746
|
+
"properties": {
|
|
747
|
+
"width": {
|
|
748
|
+
"type": "integer",
|
|
749
|
+
"description": "Width of the viewport in pixels."
|
|
750
|
+
},
|
|
751
|
+
"height": {
|
|
752
|
+
"type": "integer",
|
|
753
|
+
"description": "Height of the viewport in pixels."
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
732
759
|
]
|
|
733
760
|
}
|
|
734
761
|
}
|
|
@@ -745,24 +772,42 @@
|
|
|
745
772
|
"windows"
|
|
746
773
|
]
|
|
747
774
|
},
|
|
775
|
+
"browserName": {
|
|
776
|
+
"type": "string",
|
|
777
|
+
"description": "Name of the browser.",
|
|
778
|
+
"enum": [
|
|
779
|
+
"chrome",
|
|
780
|
+
"firefox",
|
|
781
|
+
"safari",
|
|
782
|
+
"webkit"
|
|
783
|
+
],
|
|
784
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
785
|
+
},
|
|
748
786
|
"browser": {
|
|
749
787
|
"type": "object",
|
|
750
788
|
"description": "Browser configuration.",
|
|
789
|
+
"required": [
|
|
790
|
+
"name"
|
|
791
|
+
],
|
|
751
792
|
"additionalProperties": false,
|
|
752
793
|
"properties": {
|
|
753
|
-
"
|
|
794
|
+
"name": {
|
|
754
795
|
"type": "string",
|
|
755
|
-
"description": "
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
796
|
+
"description": "Name of the browser.",
|
|
797
|
+
"enum": [
|
|
798
|
+
"chrome",
|
|
799
|
+
"firefox",
|
|
800
|
+
"safari",
|
|
801
|
+
"webkit"
|
|
802
|
+
],
|
|
803
|
+
"$comment": "`safari` is just a shortcut for `webkit`. Included for visibility and to reduce questions."
|
|
760
804
|
},
|
|
761
805
|
"headless": {
|
|
762
806
|
"type": "boolean",
|
|
763
|
-
"description": "If `true`, runs the browser in headless mode."
|
|
807
|
+
"description": "If `true`, runs the browser in headless mode.",
|
|
808
|
+
"default": true
|
|
764
809
|
},
|
|
765
|
-
"
|
|
810
|
+
"window": {
|
|
766
811
|
"type": "object",
|
|
767
812
|
"description": "Browser dimensions.",
|
|
768
813
|
"additionalProperties": false,
|
|
@@ -798,26 +843,45 @@
|
|
|
798
843
|
},
|
|
799
844
|
"examples": [
|
|
800
845
|
{
|
|
801
|
-
"
|
|
802
|
-
|
|
803
|
-
|
|
846
|
+
"platforms": "linux",
|
|
847
|
+
"browsers": "chrome"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"platforms": [
|
|
851
|
+
"windows",
|
|
852
|
+
"mac",
|
|
853
|
+
"linux"
|
|
854
|
+
],
|
|
855
|
+
"browsers": [
|
|
856
|
+
"chrome",
|
|
857
|
+
"firefox",
|
|
858
|
+
"webkit"
|
|
859
|
+
]
|
|
804
860
|
},
|
|
805
861
|
{
|
|
806
|
-
"
|
|
807
|
-
"
|
|
862
|
+
"browsers": {
|
|
863
|
+
"name": "chrome",
|
|
808
864
|
"headless": true
|
|
809
|
-
},
|
|
810
|
-
"firefox": {
|
|
811
|
-
"executablePath": "/usr/bin/firefox",
|
|
812
|
-
"driverPath": "/usr/local/bin/geckodriver"
|
|
813
865
|
}
|
|
814
866
|
},
|
|
867
|
+
{
|
|
868
|
+
"browsers": [
|
|
869
|
+
{
|
|
870
|
+
"name": "chrome",
|
|
871
|
+
"headless": true
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "firefox"
|
|
875
|
+
}
|
|
876
|
+
]
|
|
877
|
+
},
|
|
815
878
|
{
|
|
816
879
|
"platforms": [
|
|
817
880
|
"mac",
|
|
818
881
|
"linux"
|
|
819
882
|
],
|
|
820
|
-
"
|
|
883
|
+
"browsers": {
|
|
884
|
+
"name": "chrome",
|
|
821
885
|
"headless": true
|
|
822
886
|
}
|
|
823
887
|
},
|
|
@@ -827,45 +891,47 @@
|
|
|
827
891
|
"mac",
|
|
828
892
|
"linux"
|
|
829
893
|
],
|
|
830
|
-
"
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
894
|
+
"browsers": [
|
|
895
|
+
{
|
|
896
|
+
"name": "chrome",
|
|
897
|
+
"headless": true,
|
|
898
|
+
"window": {
|
|
899
|
+
"width": 1920,
|
|
900
|
+
"height": 1080
|
|
901
|
+
},
|
|
902
|
+
"viewport": {
|
|
903
|
+
"width": 1600,
|
|
904
|
+
"height": 900
|
|
905
|
+
}
|
|
837
906
|
},
|
|
838
|
-
|
|
839
|
-
"
|
|
840
|
-
"
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
"
|
|
848
|
-
"
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
"executablePath": "/Applications/Safari.app/Contents/MacOS/Safari",
|
|
853
|
-
"headless": false,
|
|
854
|
-
"viewport": {
|
|
855
|
-
"width": 1440,
|
|
856
|
-
"height": 900
|
|
907
|
+
{
|
|
908
|
+
"name": "firefox",
|
|
909
|
+
"window": {
|
|
910
|
+
"width": 1366,
|
|
911
|
+
"height": 768
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "webkit",
|
|
916
|
+
"headless": false,
|
|
917
|
+
"viewport": {
|
|
918
|
+
"width": 1440,
|
|
919
|
+
"height": 900
|
|
920
|
+
}
|
|
857
921
|
}
|
|
858
|
-
|
|
922
|
+
]
|
|
859
923
|
},
|
|
860
924
|
{
|
|
861
925
|
"platforms": "mac",
|
|
862
|
-
"
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
"
|
|
866
|
-
|
|
926
|
+
"browsers": [
|
|
927
|
+
{
|
|
928
|
+
"name": "safari",
|
|
929
|
+
"window": {
|
|
930
|
+
"width": 1280,
|
|
931
|
+
"height": 800
|
|
932
|
+
}
|
|
867
933
|
}
|
|
868
|
-
|
|
934
|
+
]
|
|
869
935
|
}
|
|
870
936
|
]
|
|
871
937
|
}
|
|
@@ -884,7 +950,7 @@
|
|
|
884
950
|
"description": "OpenAPI description and configuration.",
|
|
885
951
|
"additionalProperties": false,
|
|
886
952
|
"properties": {
|
|
887
|
-
"
|
|
953
|
+
"name": {
|
|
888
954
|
"type": "string",
|
|
889
955
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
890
956
|
},
|
|
@@ -962,7 +1028,7 @@
|
|
|
962
1028
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
963
1029
|
},
|
|
964
1030
|
{
|
|
965
|
-
"
|
|
1031
|
+
"name": "Reqres",
|
|
966
1032
|
"operationId": "getUserById"
|
|
967
1033
|
},
|
|
968
1034
|
{
|
|
@@ -1026,7 +1092,7 @@
|
|
|
1026
1092
|
]
|
|
1027
1093
|
},
|
|
1028
1094
|
"required": [
|
|
1029
|
-
"
|
|
1095
|
+
"name",
|
|
1030
1096
|
"descriptionPath"
|
|
1031
1097
|
]
|
|
1032
1098
|
}
|
|
@@ -2091,7 +2157,7 @@
|
|
|
2091
2157
|
"description": "OpenAPI description and configuration.",
|
|
2092
2158
|
"additionalProperties": false,
|
|
2093
2159
|
"properties": {
|
|
2094
|
-
"
|
|
2160
|
+
"name": {
|
|
2095
2161
|
"type": "string",
|
|
2096
2162
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
2097
2163
|
},
|
|
@@ -2169,7 +2235,7 @@
|
|
|
2169
2235
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
2170
2236
|
},
|
|
2171
2237
|
{
|
|
2172
|
-
"
|
|
2238
|
+
"name": "Reqres",
|
|
2173
2239
|
"operationId": "getUserById"
|
|
2174
2240
|
},
|
|
2175
2241
|
{
|
|
@@ -2246,7 +2312,8 @@
|
|
|
2246
2312
|
]
|
|
2247
2313
|
},
|
|
2248
2314
|
"default": [
|
|
2249
|
-
200
|
|
2315
|
+
200,
|
|
2316
|
+
201
|
|
2250
2317
|
]
|
|
2251
2318
|
},
|
|
2252
2319
|
"method": {
|
|
@@ -2272,6 +2339,7 @@
|
|
|
2272
2339
|
},
|
|
2273
2340
|
"request": {
|
|
2274
2341
|
"type": "object",
|
|
2342
|
+
"additionalProperties": false,
|
|
2275
2343
|
"properties": {
|
|
2276
2344
|
"headers": {
|
|
2277
2345
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -2280,14 +2348,14 @@
|
|
|
2280
2348
|
"properties": {},
|
|
2281
2349
|
"default": {}
|
|
2282
2350
|
},
|
|
2283
|
-
"
|
|
2351
|
+
"parameters": {
|
|
2284
2352
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
2285
2353
|
"type": "object",
|
|
2286
2354
|
"additionalProperties": true,
|
|
2287
2355
|
"default": {},
|
|
2288
2356
|
"properties": {}
|
|
2289
2357
|
},
|
|
2290
|
-
"
|
|
2358
|
+
"body": {
|
|
2291
2359
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
2292
2360
|
"anyOf": [
|
|
2293
2361
|
{
|
|
@@ -2295,6 +2363,10 @@
|
|
|
2295
2363
|
"additionalProperties": true,
|
|
2296
2364
|
"properties": {}
|
|
2297
2365
|
},
|
|
2366
|
+
{
|
|
2367
|
+
"type": "array",
|
|
2368
|
+
"items": {}
|
|
2369
|
+
},
|
|
2298
2370
|
{
|
|
2299
2371
|
"type": "string"
|
|
2300
2372
|
}
|
|
@@ -2305,6 +2377,7 @@
|
|
|
2305
2377
|
},
|
|
2306
2378
|
"response": {
|
|
2307
2379
|
"type": "object",
|
|
2380
|
+
"additionalProperties": false,
|
|
2308
2381
|
"properties": {
|
|
2309
2382
|
"headers": {
|
|
2310
2383
|
"description": "Headers expected in the response, in key/value format. If one or more `responseHeaders` entries aren't present in the response, the step fails.",
|
|
@@ -2313,7 +2386,7 @@
|
|
|
2313
2386
|
"properties": {},
|
|
2314
2387
|
"default": {}
|
|
2315
2388
|
},
|
|
2316
|
-
"
|
|
2389
|
+
"body": {
|
|
2317
2390
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
2318
2391
|
"anyOf": [
|
|
2319
2392
|
{
|
|
@@ -2321,6 +2394,10 @@
|
|
|
2321
2394
|
"additionalProperties": true,
|
|
2322
2395
|
"properties": {}
|
|
2323
2396
|
},
|
|
2397
|
+
{
|
|
2398
|
+
"type": "array",
|
|
2399
|
+
"items": {}
|
|
2400
|
+
},
|
|
2324
2401
|
{
|
|
2325
2402
|
"type": "string"
|
|
2326
2403
|
}
|
|
@@ -2357,7 +2434,7 @@
|
|
|
2357
2434
|
"false",
|
|
2358
2435
|
"aboveVariation"
|
|
2359
2436
|
],
|
|
2360
|
-
"default": "
|
|
2437
|
+
"default": "aboveVariation"
|
|
2361
2438
|
}
|
|
2362
2439
|
}
|
|
2363
2440
|
}
|
|
@@ -2422,7 +2499,7 @@
|
|
|
2422
2499
|
"description": "OpenAPI description and configuration.",
|
|
2423
2500
|
"additionalProperties": false,
|
|
2424
2501
|
"properties": {
|
|
2425
|
-
"
|
|
2502
|
+
"name": {
|
|
2426
2503
|
"type": "string",
|
|
2427
2504
|
"description": "Name of the OpenAPI description, as defined in your configuration."
|
|
2428
2505
|
},
|
|
@@ -2500,7 +2577,7 @@
|
|
|
2500
2577
|
"descriptionPath": "https://petstore.swagger.io/v2/swagger.json"
|
|
2501
2578
|
},
|
|
2502
2579
|
{
|
|
2503
|
-
"
|
|
2580
|
+
"name": "Reqres",
|
|
2504
2581
|
"operationId": "getUserById"
|
|
2505
2582
|
},
|
|
2506
2583
|
{
|
|
@@ -2577,7 +2654,8 @@
|
|
|
2577
2654
|
]
|
|
2578
2655
|
},
|
|
2579
2656
|
"default": [
|
|
2580
|
-
200
|
|
2657
|
+
200,
|
|
2658
|
+
201
|
|
2581
2659
|
]
|
|
2582
2660
|
},
|
|
2583
2661
|
"method": {
|
|
@@ -2603,6 +2681,7 @@
|
|
|
2603
2681
|
},
|
|
2604
2682
|
"request": {
|
|
2605
2683
|
"type": "object",
|
|
2684
|
+
"additionalProperties": false,
|
|
2606
2685
|
"properties": {
|
|
2607
2686
|
"headers": {
|
|
2608
2687
|
"description": "Headers to include in the HTTP request, in key/value format.",
|
|
@@ -2611,14 +2690,14 @@
|
|
|
2611
2690
|
"properties": {},
|
|
2612
2691
|
"default": {}
|
|
2613
2692
|
},
|
|
2614
|
-
"
|
|
2693
|
+
"parameters": {
|
|
2615
2694
|
"description": "URL parameters to include in the HTTP request, in key/value format.",
|
|
2616
2695
|
"type": "object",
|
|
2617
2696
|
"additionalProperties": true,
|
|
2618
2697
|
"default": {},
|
|
2619
2698
|
"properties": {}
|
|
2620
2699
|
},
|
|
2621
|
-
"
|
|
2700
|
+
"body": {
|
|
2622
2701
|
"description": "JSON object to include as the body of the HTTP request.",
|
|
2623
2702
|
"anyOf": [
|
|
2624
2703
|
{
|
|
@@ -2626,6 +2705,10 @@
|
|
|
2626
2705
|
"additionalProperties": true,
|
|
2627
2706
|
"properties": {}
|
|
2628
2707
|
},
|
|
2708
|
+
{
|
|
2709
|
+
"type": "array",
|
|
2710
|
+
"items": {}
|
|
2711
|
+
},
|
|
2629
2712
|
{
|
|
2630
2713
|
"type": "string"
|
|
2631
2714
|
}
|
|
@@ -2636,6 +2719,7 @@
|
|
|
2636
2719
|
},
|
|
2637
2720
|
"response": {
|
|
2638
2721
|
"type": "object",
|
|
2722
|
+
"additionalProperties": false,
|
|
2639
2723
|
"properties": {
|
|
2640
2724
|
"headers": {
|
|
2641
2725
|
"description": "Headers expected in the response, in key/value format. If one or more `responseHeaders` entries aren't present in the response, the step fails.",
|
|
@@ -2644,7 +2728,7 @@
|
|
|
2644
2728
|
"properties": {},
|
|
2645
2729
|
"default": {}
|
|
2646
2730
|
},
|
|
2647
|
-
"
|
|
2731
|
+
"body": {
|
|
2648
2732
|
"description": "JSON object expected in the response. If one or more key/value pairs aren't present in the response, the step fails.",
|
|
2649
2733
|
"anyOf": [
|
|
2650
2734
|
{
|
|
@@ -2652,6 +2736,10 @@
|
|
|
2652
2736
|
"additionalProperties": true,
|
|
2653
2737
|
"properties": {}
|
|
2654
2738
|
},
|
|
2739
|
+
{
|
|
2740
|
+
"type": "array",
|
|
2741
|
+
"items": {}
|
|
2742
|
+
},
|
|
2655
2743
|
{
|
|
2656
2744
|
"type": "string"
|
|
2657
2745
|
}
|
|
@@ -2688,7 +2776,7 @@
|
|
|
2688
2776
|
"false",
|
|
2689
2777
|
"aboveVariation"
|
|
2690
2778
|
],
|
|
2691
|
-
"default": "
|
|
2779
|
+
"default": "aboveVariation"
|
|
2692
2780
|
}
|
|
2693
2781
|
}
|
|
2694
2782
|
}
|
|
@@ -2740,7 +2828,7 @@
|
|
|
2740
2828
|
"headers": {
|
|
2741
2829
|
"header": "value"
|
|
2742
2830
|
},
|
|
2743
|
-
"
|
|
2831
|
+
"parameters": {
|
|
2744
2832
|
"param": "value"
|
|
2745
2833
|
}
|
|
2746
2834
|
},
|
|
@@ -2785,11 +2873,11 @@
|
|
|
2785
2873
|
},
|
|
2786
2874
|
{
|
|
2787
2875
|
"openApi": {
|
|
2788
|
-
"
|
|
2876
|
+
"name": "Reqres",
|
|
2789
2877
|
"operationId": "getUserById"
|
|
2790
2878
|
},
|
|
2791
2879
|
"request": {
|
|
2792
|
-
"
|
|
2880
|
+
"parameters": {
|
|
2793
2881
|
"id": 123
|
|
2794
2882
|
}
|
|
2795
2883
|
}
|
|
@@ -2800,7 +2888,7 @@
|
|
|
2800
2888
|
"operationId": "getUserById"
|
|
2801
2889
|
},
|
|
2802
2890
|
"request": {
|
|
2803
|
-
"
|
|
2891
|
+
"parameters": {
|
|
2804
2892
|
"id": 123
|
|
2805
2893
|
}
|
|
2806
2894
|
}
|
|
@@ -4582,7 +4670,7 @@
|
|
|
4582
4670
|
"headers": {
|
|
4583
4671
|
"header": "value"
|
|
4584
4672
|
},
|
|
4585
|
-
"
|
|
4673
|
+
"parameters": {
|
|
4586
4674
|
"param": "value"
|
|
4587
4675
|
}
|
|
4588
4676
|
},
|
|
@@ -4633,11 +4721,11 @@
|
|
|
4633
4721
|
{
|
|
4634
4722
|
"httpRequest": {
|
|
4635
4723
|
"openApi": {
|
|
4636
|
-
"
|
|
4724
|
+
"name": "Reqres",
|
|
4637
4725
|
"operationId": "getUserById"
|
|
4638
4726
|
},
|
|
4639
4727
|
"request": {
|
|
4640
|
-
"
|
|
4728
|
+
"parameters": {
|
|
4641
4729
|
"id": 123
|
|
4642
4730
|
}
|
|
4643
4731
|
}
|
|
@@ -4650,7 +4738,7 @@
|
|
|
4650
4738
|
"operationId": "getUserById"
|
|
4651
4739
|
},
|
|
4652
4740
|
"request": {
|
|
4653
|
-
"
|
|
4741
|
+
"parameters": {
|
|
4654
4742
|
"id": 123
|
|
4655
4743
|
}
|
|
4656
4744
|
}
|
|
@@ -4738,9 +4826,9 @@
|
|
|
4738
4826
|
"platforms": [
|
|
4739
4827
|
"linux"
|
|
4740
4828
|
],
|
|
4741
|
-
"
|
|
4742
|
-
"
|
|
4743
|
-
"
|
|
4829
|
+
"browsers": {
|
|
4830
|
+
"name": "firefox",
|
|
4831
|
+
"window": {},
|
|
4744
4832
|
"viewport": {}
|
|
4745
4833
|
}
|
|
4746
4834
|
}
|
|
@@ -4835,7 +4923,7 @@
|
|
|
4835
4923
|
"validateAgainstSchema": "both",
|
|
4836
4924
|
"useExample": "none",
|
|
4837
4925
|
"exampleKey": "",
|
|
4838
|
-
"
|
|
4926
|
+
"name": "Acme"
|
|
4839
4927
|
}
|
|
4840
4928
|
],
|
|
4841
4929
|
"steps": [
|
|
@@ -4848,7 +4936,7 @@
|
|
|
4848
4936
|
"exampleKey": ""
|
|
4849
4937
|
},
|
|
4850
4938
|
"request": {
|
|
4851
|
-
"
|
|
4939
|
+
"parameters": {
|
|
4852
4940
|
"id": 123
|
|
4853
4941
|
}
|
|
4854
4942
|
},
|
|
@@ -4892,9 +4980,9 @@
|
|
|
4892
4980
|
"windows",
|
|
4893
4981
|
"mac"
|
|
4894
4982
|
],
|
|
4895
|
-
"
|
|
4896
|
-
"
|
|
4897
|
-
"
|
|
4983
|
+
"browsers": {
|
|
4984
|
+
"name": "firefox",
|
|
4985
|
+
"window": {},
|
|
4898
4986
|
"viewport": {}
|
|
4899
4987
|
}
|
|
4900
4988
|
}
|
|
@@ -4905,14 +4993,8 @@
|
|
|
4905
4993
|
"description": "This test includes nearly every property across all actions.",
|
|
4906
4994
|
"runOn": [
|
|
4907
4995
|
{
|
|
4908
|
-
"platforms":
|
|
4909
|
-
|
|
4910
|
-
],
|
|
4911
|
-
"firefox": {
|
|
4912
|
-
"executablePath": "/usr/bin/firefox",
|
|
4913
|
-
"dimensions": {},
|
|
4914
|
-
"viewport": {}
|
|
4915
|
-
}
|
|
4996
|
+
"platforms": "linux",
|
|
4997
|
+
"browsers": "firefox"
|
|
4916
4998
|
}
|
|
4917
4999
|
],
|
|
4918
5000
|
"steps": [
|
|
@@ -5004,7 +5086,7 @@
|
|
|
5004
5086
|
{
|
|
5005
5087
|
"descriptionPath": "https://www.acme.com/openapi.json",
|
|
5006
5088
|
"server": "https://api.acme.com",
|
|
5007
|
-
"
|
|
5089
|
+
"name": "Acme"
|
|
5008
5090
|
}
|
|
5009
5091
|
],
|
|
5010
5092
|
"tests": [
|
|
@@ -5019,7 +5101,7 @@
|
|
|
5019
5101
|
"exampleKey": ""
|
|
5020
5102
|
},
|
|
5021
5103
|
"request": {
|
|
5022
|
-
"
|
|
5104
|
+
"parameters": {
|
|
5023
5105
|
"id": 123
|
|
5024
5106
|
}
|
|
5025
5107
|
},
|