doc-detective-common 3.1.2-dev.4 → 3.2.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/dist/schemas/config_v3.schema.json +610 -0
- package/dist/schemas/dragAndDrop_v3.schema.json +224 -0
- package/dist/schemas/report_v3.schema.json +610 -0
- package/dist/schemas/resolvedTests_v3.schema.json +1243 -23
- package/dist/schemas/spec_v3.schema.json +610 -0
- package/dist/schemas/step_v3.schema.json +305 -0
- package/dist/schemas/test_v3.schema.json +610 -0
- package/package.json +3 -3
- package/src/schemas/build/dragAndDrop_v3.schema.json +121 -0
- package/src/schemas/build/step_v3.schema.json +29 -0
- package/src/schemas/dereferenceSchemas.js +1 -0
- package/src/schemas/output_schemas/config_v3.schema.json +610 -0
- package/src/schemas/output_schemas/dragAndDrop_v3.schema.json +224 -0
- package/src/schemas/output_schemas/report_v3.schema.json +610 -0
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +1243 -23
- package/src/schemas/output_schemas/spec_v3.schema.json +610 -0
- package/src/schemas/output_schemas/step_v3.schema.json +305 -0
- package/src/schemas/output_schemas/test_v3.schema.json +610 -0
- package/src/schemas/schemas.json +4438 -249
- package/src/schemas/src_schemas/dragAndDrop_v3.schema.json +117 -0
- package/src/schemas/src_schemas/step_v3.schema.json +27 -0
|
@@ -5179,6 +5179,301 @@
|
|
|
5179
5179
|
}
|
|
5180
5180
|
]
|
|
5181
5181
|
},
|
|
5182
|
+
{
|
|
5183
|
+
"allOf": [
|
|
5184
|
+
{
|
|
5185
|
+
"type": "object",
|
|
5186
|
+
"dynamicDefaults": {
|
|
5187
|
+
"stepId": "uuid"
|
|
5188
|
+
},
|
|
5189
|
+
"properties": {
|
|
5190
|
+
"$schema": {
|
|
5191
|
+
"description": "JSON Schema for this object.",
|
|
5192
|
+
"type": "string",
|
|
5193
|
+
"enum": [
|
|
5194
|
+
"https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/step_v3.schema.json"
|
|
5195
|
+
]
|
|
5196
|
+
},
|
|
5197
|
+
"stepId": {
|
|
5198
|
+
"type": "string",
|
|
5199
|
+
"description": "ID of the step."
|
|
5200
|
+
},
|
|
5201
|
+
"description": {
|
|
5202
|
+
"type": "string",
|
|
5203
|
+
"description": "Description of the step."
|
|
5204
|
+
},
|
|
5205
|
+
"unsafe": {
|
|
5206
|
+
"type": "boolean",
|
|
5207
|
+
"description": "Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.",
|
|
5208
|
+
"default": false
|
|
5209
|
+
},
|
|
5210
|
+
"outputs": {
|
|
5211
|
+
"type": "object",
|
|
5212
|
+
"description": "Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.",
|
|
5213
|
+
"default": {},
|
|
5214
|
+
"patternProperties": {
|
|
5215
|
+
"^[A-Za-z0-9_]+$": {
|
|
5216
|
+
"type": "string",
|
|
5217
|
+
"description": "Runtime expression for a user-defined output value."
|
|
5218
|
+
}
|
|
5219
|
+
},
|
|
5220
|
+
"title": "Outputs (step)"
|
|
5221
|
+
},
|
|
5222
|
+
"variables": {
|
|
5223
|
+
"type": "object",
|
|
5224
|
+
"description": "Environment variables to set from user-defined expressions.",
|
|
5225
|
+
"default": {},
|
|
5226
|
+
"patternProperties": {
|
|
5227
|
+
"^[A-Za-z0-9_]+$": {
|
|
5228
|
+
"type": "string",
|
|
5229
|
+
"description": "Runtime expression for a user-defined output value."
|
|
5230
|
+
}
|
|
5231
|
+
},
|
|
5232
|
+
"title": "Variables (step)"
|
|
5233
|
+
},
|
|
5234
|
+
"breakpoint": {
|
|
5235
|
+
"type": "boolean",
|
|
5236
|
+
"description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
|
|
5237
|
+
"default": false
|
|
5238
|
+
}
|
|
5239
|
+
},
|
|
5240
|
+
"title": "Common"
|
|
5241
|
+
},
|
|
5242
|
+
{
|
|
5243
|
+
"title": "dragAndDrop",
|
|
5244
|
+
"type": "object",
|
|
5245
|
+
"required": [
|
|
5246
|
+
"dragAndDrop"
|
|
5247
|
+
],
|
|
5248
|
+
"properties": {
|
|
5249
|
+
"dragAndDrop": {
|
|
5250
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5251
|
+
"title": "dragAndDrop",
|
|
5252
|
+
"description": "Drag and drop an element from source to target.",
|
|
5253
|
+
"type": "object",
|
|
5254
|
+
"required": [
|
|
5255
|
+
"source",
|
|
5256
|
+
"target"
|
|
5257
|
+
],
|
|
5258
|
+
"properties": {
|
|
5259
|
+
"source": {
|
|
5260
|
+
"description": "The element to drag.",
|
|
5261
|
+
"anyOf": [
|
|
5262
|
+
{
|
|
5263
|
+
"title": "Element (simple)",
|
|
5264
|
+
"type": "string",
|
|
5265
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5266
|
+
},
|
|
5267
|
+
{
|
|
5268
|
+
"title": "Element (detailed)",
|
|
5269
|
+
"type": "object",
|
|
5270
|
+
"anyOf": [
|
|
5271
|
+
{
|
|
5272
|
+
"required": [
|
|
5273
|
+
"selector"
|
|
5274
|
+
]
|
|
5275
|
+
},
|
|
5276
|
+
{
|
|
5277
|
+
"required": [
|
|
5278
|
+
"elementText"
|
|
5279
|
+
]
|
|
5280
|
+
}
|
|
5281
|
+
],
|
|
5282
|
+
"properties": {
|
|
5283
|
+
"elementText": {
|
|
5284
|
+
"type": "string",
|
|
5285
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
5286
|
+
},
|
|
5287
|
+
"selector": {
|
|
5288
|
+
"type": "string",
|
|
5289
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5290
|
+
},
|
|
5291
|
+
"timeout": {
|
|
5292
|
+
"type": "integer",
|
|
5293
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5294
|
+
"default": 5000
|
|
5295
|
+
}
|
|
5296
|
+
}
|
|
5297
|
+
}
|
|
5298
|
+
]
|
|
5299
|
+
},
|
|
5300
|
+
"target": {
|
|
5301
|
+
"description": "The target location to drop the element.",
|
|
5302
|
+
"anyOf": [
|
|
5303
|
+
{
|
|
5304
|
+
"title": "Element (simple)",
|
|
5305
|
+
"type": "string",
|
|
5306
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5307
|
+
},
|
|
5308
|
+
{
|
|
5309
|
+
"title": "Element (detailed)",
|
|
5310
|
+
"type": "object",
|
|
5311
|
+
"anyOf": [
|
|
5312
|
+
{
|
|
5313
|
+
"required": [
|
|
5314
|
+
"selector"
|
|
5315
|
+
]
|
|
5316
|
+
},
|
|
5317
|
+
{
|
|
5318
|
+
"required": [
|
|
5319
|
+
"elementText"
|
|
5320
|
+
]
|
|
5321
|
+
}
|
|
5322
|
+
],
|
|
5323
|
+
"properties": {
|
|
5324
|
+
"elementText": {
|
|
5325
|
+
"type": "string",
|
|
5326
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
5327
|
+
},
|
|
5328
|
+
"selector": {
|
|
5329
|
+
"type": "string",
|
|
5330
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5331
|
+
},
|
|
5332
|
+
"timeout": {
|
|
5333
|
+
"type": "integer",
|
|
5334
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5335
|
+
"default": 5000
|
|
5336
|
+
}
|
|
5337
|
+
}
|
|
5338
|
+
}
|
|
5339
|
+
]
|
|
5340
|
+
},
|
|
5341
|
+
"duration": {
|
|
5342
|
+
"type": "integer",
|
|
5343
|
+
"description": "Duration of the drag operation in milliseconds.",
|
|
5344
|
+
"default": 1000,
|
|
5345
|
+
"minimum": 0
|
|
5346
|
+
}
|
|
5347
|
+
},
|
|
5348
|
+
"components": {
|
|
5349
|
+
"schemas": {
|
|
5350
|
+
"elementSpecification": {
|
|
5351
|
+
"anyOf": [
|
|
5352
|
+
{
|
|
5353
|
+
"title": "Element (simple)",
|
|
5354
|
+
"type": "string",
|
|
5355
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5356
|
+
},
|
|
5357
|
+
{
|
|
5358
|
+
"title": "Element (detailed)",
|
|
5359
|
+
"type": "object",
|
|
5360
|
+
"anyOf": [
|
|
5361
|
+
{
|
|
5362
|
+
"required": [
|
|
5363
|
+
"selector"
|
|
5364
|
+
]
|
|
5365
|
+
},
|
|
5366
|
+
{
|
|
5367
|
+
"required": [
|
|
5368
|
+
"elementText"
|
|
5369
|
+
]
|
|
5370
|
+
}
|
|
5371
|
+
],
|
|
5372
|
+
"properties": {
|
|
5373
|
+
"elementText": {
|
|
5374
|
+
"type": "string",
|
|
5375
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
5376
|
+
},
|
|
5377
|
+
"selector": {
|
|
5378
|
+
"type": "string",
|
|
5379
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5380
|
+
},
|
|
5381
|
+
"timeout": {
|
|
5382
|
+
"type": "integer",
|
|
5383
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5384
|
+
"default": 5000
|
|
5385
|
+
}
|
|
5386
|
+
}
|
|
5387
|
+
}
|
|
5388
|
+
]
|
|
5389
|
+
},
|
|
5390
|
+
"string": {
|
|
5391
|
+
"title": "Element (simple)",
|
|
5392
|
+
"type": "string",
|
|
5393
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5394
|
+
},
|
|
5395
|
+
"object": {
|
|
5396
|
+
"title": "Element (detailed)",
|
|
5397
|
+
"type": "object",
|
|
5398
|
+
"anyOf": [
|
|
5399
|
+
{
|
|
5400
|
+
"required": [
|
|
5401
|
+
"selector"
|
|
5402
|
+
]
|
|
5403
|
+
},
|
|
5404
|
+
{
|
|
5405
|
+
"required": [
|
|
5406
|
+
"elementText"
|
|
5407
|
+
]
|
|
5408
|
+
}
|
|
5409
|
+
],
|
|
5410
|
+
"properties": {
|
|
5411
|
+
"elementText": {
|
|
5412
|
+
"type": "string",
|
|
5413
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
5414
|
+
},
|
|
5415
|
+
"selector": {
|
|
5416
|
+
"type": "string",
|
|
5417
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5418
|
+
},
|
|
5419
|
+
"timeout": {
|
|
5420
|
+
"type": "integer",
|
|
5421
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5422
|
+
"default": 5000
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
}
|
|
5426
|
+
}
|
|
5427
|
+
},
|
|
5428
|
+
"examples": [
|
|
5429
|
+
{
|
|
5430
|
+
"source": "Table",
|
|
5431
|
+
"target": "#canvas"
|
|
5432
|
+
},
|
|
5433
|
+
{
|
|
5434
|
+
"source": ".draggable-block",
|
|
5435
|
+
"target": ".drop-zone",
|
|
5436
|
+
"duration": 2000
|
|
5437
|
+
},
|
|
5438
|
+
{
|
|
5439
|
+
"source": {
|
|
5440
|
+
"selector": ".widget",
|
|
5441
|
+
"elementText": "Data Table"
|
|
5442
|
+
},
|
|
5443
|
+
"target": {
|
|
5444
|
+
"selector": "#design-canvas"
|
|
5445
|
+
},
|
|
5446
|
+
"duration": 500
|
|
5447
|
+
},
|
|
5448
|
+
{
|
|
5449
|
+
"source": {
|
|
5450
|
+
"selector": ".draggable",
|
|
5451
|
+
"timeout": 10000
|
|
5452
|
+
},
|
|
5453
|
+
"target": {
|
|
5454
|
+
"elementText": "Drop Zone",
|
|
5455
|
+
"timeout": 5000
|
|
5456
|
+
}
|
|
5457
|
+
},
|
|
5458
|
+
{
|
|
5459
|
+
"source": "/Widget Item.*/",
|
|
5460
|
+
"target": "#canvas"
|
|
5461
|
+
},
|
|
5462
|
+
{
|
|
5463
|
+
"source": {
|
|
5464
|
+
"selector": ".draggable",
|
|
5465
|
+
"elementText": "/Button [0-9]+/"
|
|
5466
|
+
},
|
|
5467
|
+
"target": {
|
|
5468
|
+
"elementText": "/Drop Zone.*/"
|
|
5469
|
+
}
|
|
5470
|
+
}
|
|
5471
|
+
]
|
|
5472
|
+
}
|
|
5473
|
+
}
|
|
5474
|
+
}
|
|
5475
|
+
]
|
|
5476
|
+
},
|
|
5182
5477
|
{
|
|
5183
5478
|
"allOf": [
|
|
5184
5479
|
{
|
|
@@ -5967,6 +6262,16 @@
|
|
|
5967
6262
|
{
|
|
5968
6263
|
"checkLink": "https://www.google.com",
|
|
5969
6264
|
"breakpoint": false
|
|
6265
|
+
},
|
|
6266
|
+
{
|
|
6267
|
+
"dragAndDrop": {
|
|
6268
|
+
"source": {
|
|
6269
|
+
"selector": "#sourceElement"
|
|
6270
|
+
},
|
|
6271
|
+
"target": {
|
|
6272
|
+
"selector": "#targetElement"
|
|
6273
|
+
}
|
|
6274
|
+
}
|
|
5970
6275
|
}
|
|
5971
6276
|
]
|
|
5972
6277
|
}
|
|
@@ -11055,6 +11360,301 @@
|
|
|
11055
11360
|
}
|
|
11056
11361
|
]
|
|
11057
11362
|
},
|
|
11363
|
+
{
|
|
11364
|
+
"allOf": [
|
|
11365
|
+
{
|
|
11366
|
+
"type": "object",
|
|
11367
|
+
"dynamicDefaults": {
|
|
11368
|
+
"stepId": "uuid"
|
|
11369
|
+
},
|
|
11370
|
+
"properties": {
|
|
11371
|
+
"$schema": {
|
|
11372
|
+
"description": "JSON Schema for this object.",
|
|
11373
|
+
"type": "string",
|
|
11374
|
+
"enum": [
|
|
11375
|
+
"https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/step_v3.schema.json"
|
|
11376
|
+
]
|
|
11377
|
+
},
|
|
11378
|
+
"stepId": {
|
|
11379
|
+
"type": "string",
|
|
11380
|
+
"description": "ID of the step."
|
|
11381
|
+
},
|
|
11382
|
+
"description": {
|
|
11383
|
+
"type": "string",
|
|
11384
|
+
"description": "Description of the step."
|
|
11385
|
+
},
|
|
11386
|
+
"unsafe": {
|
|
11387
|
+
"type": "boolean",
|
|
11388
|
+
"description": "Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.",
|
|
11389
|
+
"default": false
|
|
11390
|
+
},
|
|
11391
|
+
"outputs": {
|
|
11392
|
+
"type": "object",
|
|
11393
|
+
"description": "Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.",
|
|
11394
|
+
"default": {},
|
|
11395
|
+
"patternProperties": {
|
|
11396
|
+
"^[A-Za-z0-9_]+$": {
|
|
11397
|
+
"type": "string",
|
|
11398
|
+
"description": "Runtime expression for a user-defined output value."
|
|
11399
|
+
}
|
|
11400
|
+
},
|
|
11401
|
+
"title": "Outputs (step)"
|
|
11402
|
+
},
|
|
11403
|
+
"variables": {
|
|
11404
|
+
"type": "object",
|
|
11405
|
+
"description": "Environment variables to set from user-defined expressions.",
|
|
11406
|
+
"default": {},
|
|
11407
|
+
"patternProperties": {
|
|
11408
|
+
"^[A-Za-z0-9_]+$": {
|
|
11409
|
+
"type": "string",
|
|
11410
|
+
"description": "Runtime expression for a user-defined output value."
|
|
11411
|
+
}
|
|
11412
|
+
},
|
|
11413
|
+
"title": "Variables (step)"
|
|
11414
|
+
},
|
|
11415
|
+
"breakpoint": {
|
|
11416
|
+
"type": "boolean",
|
|
11417
|
+
"description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
|
|
11418
|
+
"default": false
|
|
11419
|
+
}
|
|
11420
|
+
},
|
|
11421
|
+
"title": "Common"
|
|
11422
|
+
},
|
|
11423
|
+
{
|
|
11424
|
+
"title": "dragAndDrop",
|
|
11425
|
+
"type": "object",
|
|
11426
|
+
"required": [
|
|
11427
|
+
"dragAndDrop"
|
|
11428
|
+
],
|
|
11429
|
+
"properties": {
|
|
11430
|
+
"dragAndDrop": {
|
|
11431
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
11432
|
+
"title": "dragAndDrop",
|
|
11433
|
+
"description": "Drag and drop an element from source to target.",
|
|
11434
|
+
"type": "object",
|
|
11435
|
+
"required": [
|
|
11436
|
+
"source",
|
|
11437
|
+
"target"
|
|
11438
|
+
],
|
|
11439
|
+
"properties": {
|
|
11440
|
+
"source": {
|
|
11441
|
+
"description": "The element to drag.",
|
|
11442
|
+
"anyOf": [
|
|
11443
|
+
{
|
|
11444
|
+
"title": "Element (simple)",
|
|
11445
|
+
"type": "string",
|
|
11446
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11447
|
+
},
|
|
11448
|
+
{
|
|
11449
|
+
"title": "Element (detailed)",
|
|
11450
|
+
"type": "object",
|
|
11451
|
+
"anyOf": [
|
|
11452
|
+
{
|
|
11453
|
+
"required": [
|
|
11454
|
+
"selector"
|
|
11455
|
+
]
|
|
11456
|
+
},
|
|
11457
|
+
{
|
|
11458
|
+
"required": [
|
|
11459
|
+
"elementText"
|
|
11460
|
+
]
|
|
11461
|
+
}
|
|
11462
|
+
],
|
|
11463
|
+
"properties": {
|
|
11464
|
+
"elementText": {
|
|
11465
|
+
"type": "string",
|
|
11466
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
11467
|
+
},
|
|
11468
|
+
"selector": {
|
|
11469
|
+
"type": "string",
|
|
11470
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11471
|
+
},
|
|
11472
|
+
"timeout": {
|
|
11473
|
+
"type": "integer",
|
|
11474
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11475
|
+
"default": 5000
|
|
11476
|
+
}
|
|
11477
|
+
}
|
|
11478
|
+
}
|
|
11479
|
+
]
|
|
11480
|
+
},
|
|
11481
|
+
"target": {
|
|
11482
|
+
"description": "The target location to drop the element.",
|
|
11483
|
+
"anyOf": [
|
|
11484
|
+
{
|
|
11485
|
+
"title": "Element (simple)",
|
|
11486
|
+
"type": "string",
|
|
11487
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11488
|
+
},
|
|
11489
|
+
{
|
|
11490
|
+
"title": "Element (detailed)",
|
|
11491
|
+
"type": "object",
|
|
11492
|
+
"anyOf": [
|
|
11493
|
+
{
|
|
11494
|
+
"required": [
|
|
11495
|
+
"selector"
|
|
11496
|
+
]
|
|
11497
|
+
},
|
|
11498
|
+
{
|
|
11499
|
+
"required": [
|
|
11500
|
+
"elementText"
|
|
11501
|
+
]
|
|
11502
|
+
}
|
|
11503
|
+
],
|
|
11504
|
+
"properties": {
|
|
11505
|
+
"elementText": {
|
|
11506
|
+
"type": "string",
|
|
11507
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
11508
|
+
},
|
|
11509
|
+
"selector": {
|
|
11510
|
+
"type": "string",
|
|
11511
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11512
|
+
},
|
|
11513
|
+
"timeout": {
|
|
11514
|
+
"type": "integer",
|
|
11515
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11516
|
+
"default": 5000
|
|
11517
|
+
}
|
|
11518
|
+
}
|
|
11519
|
+
}
|
|
11520
|
+
]
|
|
11521
|
+
},
|
|
11522
|
+
"duration": {
|
|
11523
|
+
"type": "integer",
|
|
11524
|
+
"description": "Duration of the drag operation in milliseconds.",
|
|
11525
|
+
"default": 1000,
|
|
11526
|
+
"minimum": 0
|
|
11527
|
+
}
|
|
11528
|
+
},
|
|
11529
|
+
"components": {
|
|
11530
|
+
"schemas": {
|
|
11531
|
+
"elementSpecification": {
|
|
11532
|
+
"anyOf": [
|
|
11533
|
+
{
|
|
11534
|
+
"title": "Element (simple)",
|
|
11535
|
+
"type": "string",
|
|
11536
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11537
|
+
},
|
|
11538
|
+
{
|
|
11539
|
+
"title": "Element (detailed)",
|
|
11540
|
+
"type": "object",
|
|
11541
|
+
"anyOf": [
|
|
11542
|
+
{
|
|
11543
|
+
"required": [
|
|
11544
|
+
"selector"
|
|
11545
|
+
]
|
|
11546
|
+
},
|
|
11547
|
+
{
|
|
11548
|
+
"required": [
|
|
11549
|
+
"elementText"
|
|
11550
|
+
]
|
|
11551
|
+
}
|
|
11552
|
+
],
|
|
11553
|
+
"properties": {
|
|
11554
|
+
"elementText": {
|
|
11555
|
+
"type": "string",
|
|
11556
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
11557
|
+
},
|
|
11558
|
+
"selector": {
|
|
11559
|
+
"type": "string",
|
|
11560
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11561
|
+
},
|
|
11562
|
+
"timeout": {
|
|
11563
|
+
"type": "integer",
|
|
11564
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11565
|
+
"default": 5000
|
|
11566
|
+
}
|
|
11567
|
+
}
|
|
11568
|
+
}
|
|
11569
|
+
]
|
|
11570
|
+
},
|
|
11571
|
+
"string": {
|
|
11572
|
+
"title": "Element (simple)",
|
|
11573
|
+
"type": "string",
|
|
11574
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11575
|
+
},
|
|
11576
|
+
"object": {
|
|
11577
|
+
"title": "Element (detailed)",
|
|
11578
|
+
"type": "object",
|
|
11579
|
+
"anyOf": [
|
|
11580
|
+
{
|
|
11581
|
+
"required": [
|
|
11582
|
+
"selector"
|
|
11583
|
+
]
|
|
11584
|
+
},
|
|
11585
|
+
{
|
|
11586
|
+
"required": [
|
|
11587
|
+
"elementText"
|
|
11588
|
+
]
|
|
11589
|
+
}
|
|
11590
|
+
],
|
|
11591
|
+
"properties": {
|
|
11592
|
+
"elementText": {
|
|
11593
|
+
"type": "string",
|
|
11594
|
+
"description": "Display text or regex pattern (enclosed in forward slashes) of the element. If combined with `selector`, the element must match both the text and the selector."
|
|
11595
|
+
},
|
|
11596
|
+
"selector": {
|
|
11597
|
+
"type": "string",
|
|
11598
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11599
|
+
},
|
|
11600
|
+
"timeout": {
|
|
11601
|
+
"type": "integer",
|
|
11602
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11603
|
+
"default": 5000
|
|
11604
|
+
}
|
|
11605
|
+
}
|
|
11606
|
+
}
|
|
11607
|
+
}
|
|
11608
|
+
},
|
|
11609
|
+
"examples": [
|
|
11610
|
+
{
|
|
11611
|
+
"source": "Table",
|
|
11612
|
+
"target": "#canvas"
|
|
11613
|
+
},
|
|
11614
|
+
{
|
|
11615
|
+
"source": ".draggable-block",
|
|
11616
|
+
"target": ".drop-zone",
|
|
11617
|
+
"duration": 2000
|
|
11618
|
+
},
|
|
11619
|
+
{
|
|
11620
|
+
"source": {
|
|
11621
|
+
"selector": ".widget",
|
|
11622
|
+
"elementText": "Data Table"
|
|
11623
|
+
},
|
|
11624
|
+
"target": {
|
|
11625
|
+
"selector": "#design-canvas"
|
|
11626
|
+
},
|
|
11627
|
+
"duration": 500
|
|
11628
|
+
},
|
|
11629
|
+
{
|
|
11630
|
+
"source": {
|
|
11631
|
+
"selector": ".draggable",
|
|
11632
|
+
"timeout": 10000
|
|
11633
|
+
},
|
|
11634
|
+
"target": {
|
|
11635
|
+
"elementText": "Drop Zone",
|
|
11636
|
+
"timeout": 5000
|
|
11637
|
+
}
|
|
11638
|
+
},
|
|
11639
|
+
{
|
|
11640
|
+
"source": "/Widget Item.*/",
|
|
11641
|
+
"target": "#canvas"
|
|
11642
|
+
},
|
|
11643
|
+
{
|
|
11644
|
+
"source": {
|
|
11645
|
+
"selector": ".draggable",
|
|
11646
|
+
"elementText": "/Button [0-9]+/"
|
|
11647
|
+
},
|
|
11648
|
+
"target": {
|
|
11649
|
+
"elementText": "/Drop Zone.*/"
|
|
11650
|
+
}
|
|
11651
|
+
}
|
|
11652
|
+
]
|
|
11653
|
+
}
|
|
11654
|
+
}
|
|
11655
|
+
}
|
|
11656
|
+
]
|
|
11657
|
+
},
|
|
11058
11658
|
{
|
|
11059
11659
|
"allOf": [
|
|
11060
11660
|
{
|
|
@@ -11843,6 +12443,16 @@
|
|
|
11843
12443
|
{
|
|
11844
12444
|
"checkLink": "https://www.google.com",
|
|
11845
12445
|
"breakpoint": false
|
|
12446
|
+
},
|
|
12447
|
+
{
|
|
12448
|
+
"dragAndDrop": {
|
|
12449
|
+
"source": {
|
|
12450
|
+
"selector": "#sourceElement"
|
|
12451
|
+
},
|
|
12452
|
+
"target": {
|
|
12453
|
+
"selector": "#targetElement"
|
|
12454
|
+
}
|
|
12455
|
+
}
|
|
11846
12456
|
}
|
|
11847
12457
|
]
|
|
11848
12458
|
}
|