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
|
@@ -5606,6 +5606,301 @@
|
|
|
5606
5606
|
}
|
|
5607
5607
|
]
|
|
5608
5608
|
},
|
|
5609
|
+
{
|
|
5610
|
+
"allOf": [
|
|
5611
|
+
{
|
|
5612
|
+
"type": "object",
|
|
5613
|
+
"dynamicDefaults": {
|
|
5614
|
+
"stepId": "uuid"
|
|
5615
|
+
},
|
|
5616
|
+
"properties": {
|
|
5617
|
+
"$schema": {
|
|
5618
|
+
"description": "JSON Schema for this object.",
|
|
5619
|
+
"type": "string",
|
|
5620
|
+
"enum": [
|
|
5621
|
+
"https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/step_v3.schema.json"
|
|
5622
|
+
]
|
|
5623
|
+
},
|
|
5624
|
+
"stepId": {
|
|
5625
|
+
"type": "string",
|
|
5626
|
+
"description": "ID of the step."
|
|
5627
|
+
},
|
|
5628
|
+
"description": {
|
|
5629
|
+
"type": "string",
|
|
5630
|
+
"description": "Description of the step."
|
|
5631
|
+
},
|
|
5632
|
+
"unsafe": {
|
|
5633
|
+
"type": "boolean",
|
|
5634
|
+
"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.",
|
|
5635
|
+
"default": false
|
|
5636
|
+
},
|
|
5637
|
+
"outputs": {
|
|
5638
|
+
"type": "object",
|
|
5639
|
+
"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.",
|
|
5640
|
+
"default": {},
|
|
5641
|
+
"patternProperties": {
|
|
5642
|
+
"^[A-Za-z0-9_]+$": {
|
|
5643
|
+
"type": "string",
|
|
5644
|
+
"description": "Runtime expression for a user-defined output value."
|
|
5645
|
+
}
|
|
5646
|
+
},
|
|
5647
|
+
"title": "Outputs (step)"
|
|
5648
|
+
},
|
|
5649
|
+
"variables": {
|
|
5650
|
+
"type": "object",
|
|
5651
|
+
"description": "Environment variables to set from user-defined expressions.",
|
|
5652
|
+
"default": {},
|
|
5653
|
+
"patternProperties": {
|
|
5654
|
+
"^[A-Za-z0-9_]+$": {
|
|
5655
|
+
"type": "string",
|
|
5656
|
+
"description": "Runtime expression for a user-defined output value."
|
|
5657
|
+
}
|
|
5658
|
+
},
|
|
5659
|
+
"title": "Variables (step)"
|
|
5660
|
+
},
|
|
5661
|
+
"breakpoint": {
|
|
5662
|
+
"type": "boolean",
|
|
5663
|
+
"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.",
|
|
5664
|
+
"default": false
|
|
5665
|
+
}
|
|
5666
|
+
},
|
|
5667
|
+
"title": "Common"
|
|
5668
|
+
},
|
|
5669
|
+
{
|
|
5670
|
+
"title": "dragAndDrop",
|
|
5671
|
+
"type": "object",
|
|
5672
|
+
"required": [
|
|
5673
|
+
"dragAndDrop"
|
|
5674
|
+
],
|
|
5675
|
+
"properties": {
|
|
5676
|
+
"dragAndDrop": {
|
|
5677
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5678
|
+
"title": "dragAndDrop",
|
|
5679
|
+
"description": "Drag and drop an element from source to target.",
|
|
5680
|
+
"type": "object",
|
|
5681
|
+
"required": [
|
|
5682
|
+
"source",
|
|
5683
|
+
"target"
|
|
5684
|
+
],
|
|
5685
|
+
"properties": {
|
|
5686
|
+
"source": {
|
|
5687
|
+
"description": "The element to drag.",
|
|
5688
|
+
"anyOf": [
|
|
5689
|
+
{
|
|
5690
|
+
"title": "Element (simple)",
|
|
5691
|
+
"type": "string",
|
|
5692
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5693
|
+
},
|
|
5694
|
+
{
|
|
5695
|
+
"title": "Element (detailed)",
|
|
5696
|
+
"type": "object",
|
|
5697
|
+
"anyOf": [
|
|
5698
|
+
{
|
|
5699
|
+
"required": [
|
|
5700
|
+
"selector"
|
|
5701
|
+
]
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
"required": [
|
|
5705
|
+
"elementText"
|
|
5706
|
+
]
|
|
5707
|
+
}
|
|
5708
|
+
],
|
|
5709
|
+
"properties": {
|
|
5710
|
+
"elementText": {
|
|
5711
|
+
"type": "string",
|
|
5712
|
+
"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."
|
|
5713
|
+
},
|
|
5714
|
+
"selector": {
|
|
5715
|
+
"type": "string",
|
|
5716
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5717
|
+
},
|
|
5718
|
+
"timeout": {
|
|
5719
|
+
"type": "integer",
|
|
5720
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5721
|
+
"default": 5000
|
|
5722
|
+
}
|
|
5723
|
+
}
|
|
5724
|
+
}
|
|
5725
|
+
]
|
|
5726
|
+
},
|
|
5727
|
+
"target": {
|
|
5728
|
+
"description": "The target location to drop the element.",
|
|
5729
|
+
"anyOf": [
|
|
5730
|
+
{
|
|
5731
|
+
"title": "Element (simple)",
|
|
5732
|
+
"type": "string",
|
|
5733
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5734
|
+
},
|
|
5735
|
+
{
|
|
5736
|
+
"title": "Element (detailed)",
|
|
5737
|
+
"type": "object",
|
|
5738
|
+
"anyOf": [
|
|
5739
|
+
{
|
|
5740
|
+
"required": [
|
|
5741
|
+
"selector"
|
|
5742
|
+
]
|
|
5743
|
+
},
|
|
5744
|
+
{
|
|
5745
|
+
"required": [
|
|
5746
|
+
"elementText"
|
|
5747
|
+
]
|
|
5748
|
+
}
|
|
5749
|
+
],
|
|
5750
|
+
"properties": {
|
|
5751
|
+
"elementText": {
|
|
5752
|
+
"type": "string",
|
|
5753
|
+
"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."
|
|
5754
|
+
},
|
|
5755
|
+
"selector": {
|
|
5756
|
+
"type": "string",
|
|
5757
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5758
|
+
},
|
|
5759
|
+
"timeout": {
|
|
5760
|
+
"type": "integer",
|
|
5761
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5762
|
+
"default": 5000
|
|
5763
|
+
}
|
|
5764
|
+
}
|
|
5765
|
+
}
|
|
5766
|
+
]
|
|
5767
|
+
},
|
|
5768
|
+
"duration": {
|
|
5769
|
+
"type": "integer",
|
|
5770
|
+
"description": "Duration of the drag operation in milliseconds.",
|
|
5771
|
+
"default": 1000,
|
|
5772
|
+
"minimum": 0
|
|
5773
|
+
}
|
|
5774
|
+
},
|
|
5775
|
+
"components": {
|
|
5776
|
+
"schemas": {
|
|
5777
|
+
"elementSpecification": {
|
|
5778
|
+
"anyOf": [
|
|
5779
|
+
{
|
|
5780
|
+
"title": "Element (simple)",
|
|
5781
|
+
"type": "string",
|
|
5782
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5783
|
+
},
|
|
5784
|
+
{
|
|
5785
|
+
"title": "Element (detailed)",
|
|
5786
|
+
"type": "object",
|
|
5787
|
+
"anyOf": [
|
|
5788
|
+
{
|
|
5789
|
+
"required": [
|
|
5790
|
+
"selector"
|
|
5791
|
+
]
|
|
5792
|
+
},
|
|
5793
|
+
{
|
|
5794
|
+
"required": [
|
|
5795
|
+
"elementText"
|
|
5796
|
+
]
|
|
5797
|
+
}
|
|
5798
|
+
],
|
|
5799
|
+
"properties": {
|
|
5800
|
+
"elementText": {
|
|
5801
|
+
"type": "string",
|
|
5802
|
+
"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."
|
|
5803
|
+
},
|
|
5804
|
+
"selector": {
|
|
5805
|
+
"type": "string",
|
|
5806
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5807
|
+
},
|
|
5808
|
+
"timeout": {
|
|
5809
|
+
"type": "integer",
|
|
5810
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5811
|
+
"default": 5000
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
}
|
|
5815
|
+
]
|
|
5816
|
+
},
|
|
5817
|
+
"string": {
|
|
5818
|
+
"title": "Element (simple)",
|
|
5819
|
+
"type": "string",
|
|
5820
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
5821
|
+
},
|
|
5822
|
+
"object": {
|
|
5823
|
+
"title": "Element (detailed)",
|
|
5824
|
+
"type": "object",
|
|
5825
|
+
"anyOf": [
|
|
5826
|
+
{
|
|
5827
|
+
"required": [
|
|
5828
|
+
"selector"
|
|
5829
|
+
]
|
|
5830
|
+
},
|
|
5831
|
+
{
|
|
5832
|
+
"required": [
|
|
5833
|
+
"elementText"
|
|
5834
|
+
]
|
|
5835
|
+
}
|
|
5836
|
+
],
|
|
5837
|
+
"properties": {
|
|
5838
|
+
"elementText": {
|
|
5839
|
+
"type": "string",
|
|
5840
|
+
"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."
|
|
5841
|
+
},
|
|
5842
|
+
"selector": {
|
|
5843
|
+
"type": "string",
|
|
5844
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
5845
|
+
},
|
|
5846
|
+
"timeout": {
|
|
5847
|
+
"type": "integer",
|
|
5848
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
5849
|
+
"default": 5000
|
|
5850
|
+
}
|
|
5851
|
+
}
|
|
5852
|
+
}
|
|
5853
|
+
}
|
|
5854
|
+
},
|
|
5855
|
+
"examples": [
|
|
5856
|
+
{
|
|
5857
|
+
"source": "Table",
|
|
5858
|
+
"target": "#canvas"
|
|
5859
|
+
},
|
|
5860
|
+
{
|
|
5861
|
+
"source": ".draggable-block",
|
|
5862
|
+
"target": ".drop-zone",
|
|
5863
|
+
"duration": 2000
|
|
5864
|
+
},
|
|
5865
|
+
{
|
|
5866
|
+
"source": {
|
|
5867
|
+
"selector": ".widget",
|
|
5868
|
+
"elementText": "Data Table"
|
|
5869
|
+
},
|
|
5870
|
+
"target": {
|
|
5871
|
+
"selector": "#design-canvas"
|
|
5872
|
+
},
|
|
5873
|
+
"duration": 500
|
|
5874
|
+
},
|
|
5875
|
+
{
|
|
5876
|
+
"source": {
|
|
5877
|
+
"selector": ".draggable",
|
|
5878
|
+
"timeout": 10000
|
|
5879
|
+
},
|
|
5880
|
+
"target": {
|
|
5881
|
+
"elementText": "Drop Zone",
|
|
5882
|
+
"timeout": 5000
|
|
5883
|
+
}
|
|
5884
|
+
},
|
|
5885
|
+
{
|
|
5886
|
+
"source": "/Widget Item.*/",
|
|
5887
|
+
"target": "#canvas"
|
|
5888
|
+
},
|
|
5889
|
+
{
|
|
5890
|
+
"source": {
|
|
5891
|
+
"selector": ".draggable",
|
|
5892
|
+
"elementText": "/Button [0-9]+/"
|
|
5893
|
+
},
|
|
5894
|
+
"target": {
|
|
5895
|
+
"elementText": "/Drop Zone.*/"
|
|
5896
|
+
}
|
|
5897
|
+
}
|
|
5898
|
+
]
|
|
5899
|
+
}
|
|
5900
|
+
}
|
|
5901
|
+
}
|
|
5902
|
+
]
|
|
5903
|
+
},
|
|
5609
5904
|
{
|
|
5610
5905
|
"allOf": [
|
|
5611
5906
|
{
|
|
@@ -6394,6 +6689,16 @@
|
|
|
6394
6689
|
{
|
|
6395
6690
|
"checkLink": "https://www.google.com",
|
|
6396
6691
|
"breakpoint": false
|
|
6692
|
+
},
|
|
6693
|
+
{
|
|
6694
|
+
"dragAndDrop": {
|
|
6695
|
+
"source": {
|
|
6696
|
+
"selector": "#sourceElement"
|
|
6697
|
+
},
|
|
6698
|
+
"target": {
|
|
6699
|
+
"selector": "#targetElement"
|
|
6700
|
+
}
|
|
6701
|
+
}
|
|
6397
6702
|
}
|
|
6398
6703
|
]
|
|
6399
6704
|
}
|
|
@@ -11063,6 +11368,301 @@
|
|
|
11063
11368
|
}
|
|
11064
11369
|
]
|
|
11065
11370
|
},
|
|
11371
|
+
{
|
|
11372
|
+
"allOf": [
|
|
11373
|
+
{
|
|
11374
|
+
"type": "object",
|
|
11375
|
+
"dynamicDefaults": {
|
|
11376
|
+
"stepId": "uuid"
|
|
11377
|
+
},
|
|
11378
|
+
"properties": {
|
|
11379
|
+
"$schema": {
|
|
11380
|
+
"description": "JSON Schema for this object.",
|
|
11381
|
+
"type": "string",
|
|
11382
|
+
"enum": [
|
|
11383
|
+
"https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/step_v3.schema.json"
|
|
11384
|
+
]
|
|
11385
|
+
},
|
|
11386
|
+
"stepId": {
|
|
11387
|
+
"type": "string",
|
|
11388
|
+
"description": "ID of the step."
|
|
11389
|
+
},
|
|
11390
|
+
"description": {
|
|
11391
|
+
"type": "string",
|
|
11392
|
+
"description": "Description of the step."
|
|
11393
|
+
},
|
|
11394
|
+
"unsafe": {
|
|
11395
|
+
"type": "boolean",
|
|
11396
|
+
"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.",
|
|
11397
|
+
"default": false
|
|
11398
|
+
},
|
|
11399
|
+
"outputs": {
|
|
11400
|
+
"type": "object",
|
|
11401
|
+
"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.",
|
|
11402
|
+
"default": {},
|
|
11403
|
+
"patternProperties": {
|
|
11404
|
+
"^[A-Za-z0-9_]+$": {
|
|
11405
|
+
"type": "string",
|
|
11406
|
+
"description": "Runtime expression for a user-defined output value."
|
|
11407
|
+
}
|
|
11408
|
+
},
|
|
11409
|
+
"title": "Outputs (step)"
|
|
11410
|
+
},
|
|
11411
|
+
"variables": {
|
|
11412
|
+
"type": "object",
|
|
11413
|
+
"description": "Environment variables to set from user-defined expressions.",
|
|
11414
|
+
"default": {},
|
|
11415
|
+
"patternProperties": {
|
|
11416
|
+
"^[A-Za-z0-9_]+$": {
|
|
11417
|
+
"type": "string",
|
|
11418
|
+
"description": "Runtime expression for a user-defined output value."
|
|
11419
|
+
}
|
|
11420
|
+
},
|
|
11421
|
+
"title": "Variables (step)"
|
|
11422
|
+
},
|
|
11423
|
+
"breakpoint": {
|
|
11424
|
+
"type": "boolean",
|
|
11425
|
+
"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.",
|
|
11426
|
+
"default": false
|
|
11427
|
+
}
|
|
11428
|
+
},
|
|
11429
|
+
"title": "Common"
|
|
11430
|
+
},
|
|
11431
|
+
{
|
|
11432
|
+
"title": "dragAndDrop",
|
|
11433
|
+
"type": "object",
|
|
11434
|
+
"required": [
|
|
11435
|
+
"dragAndDrop"
|
|
11436
|
+
],
|
|
11437
|
+
"properties": {
|
|
11438
|
+
"dragAndDrop": {
|
|
11439
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
11440
|
+
"title": "dragAndDrop",
|
|
11441
|
+
"description": "Drag and drop an element from source to target.",
|
|
11442
|
+
"type": "object",
|
|
11443
|
+
"required": [
|
|
11444
|
+
"source",
|
|
11445
|
+
"target"
|
|
11446
|
+
],
|
|
11447
|
+
"properties": {
|
|
11448
|
+
"source": {
|
|
11449
|
+
"description": "The element to drag.",
|
|
11450
|
+
"anyOf": [
|
|
11451
|
+
{
|
|
11452
|
+
"title": "Element (simple)",
|
|
11453
|
+
"type": "string",
|
|
11454
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11455
|
+
},
|
|
11456
|
+
{
|
|
11457
|
+
"title": "Element (detailed)",
|
|
11458
|
+
"type": "object",
|
|
11459
|
+
"anyOf": [
|
|
11460
|
+
{
|
|
11461
|
+
"required": [
|
|
11462
|
+
"selector"
|
|
11463
|
+
]
|
|
11464
|
+
},
|
|
11465
|
+
{
|
|
11466
|
+
"required": [
|
|
11467
|
+
"elementText"
|
|
11468
|
+
]
|
|
11469
|
+
}
|
|
11470
|
+
],
|
|
11471
|
+
"properties": {
|
|
11472
|
+
"elementText": {
|
|
11473
|
+
"type": "string",
|
|
11474
|
+
"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."
|
|
11475
|
+
},
|
|
11476
|
+
"selector": {
|
|
11477
|
+
"type": "string",
|
|
11478
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11479
|
+
},
|
|
11480
|
+
"timeout": {
|
|
11481
|
+
"type": "integer",
|
|
11482
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11483
|
+
"default": 5000
|
|
11484
|
+
}
|
|
11485
|
+
}
|
|
11486
|
+
}
|
|
11487
|
+
]
|
|
11488
|
+
},
|
|
11489
|
+
"target": {
|
|
11490
|
+
"description": "The target location to drop the element.",
|
|
11491
|
+
"anyOf": [
|
|
11492
|
+
{
|
|
11493
|
+
"title": "Element (simple)",
|
|
11494
|
+
"type": "string",
|
|
11495
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11496
|
+
},
|
|
11497
|
+
{
|
|
11498
|
+
"title": "Element (detailed)",
|
|
11499
|
+
"type": "object",
|
|
11500
|
+
"anyOf": [
|
|
11501
|
+
{
|
|
11502
|
+
"required": [
|
|
11503
|
+
"selector"
|
|
11504
|
+
]
|
|
11505
|
+
},
|
|
11506
|
+
{
|
|
11507
|
+
"required": [
|
|
11508
|
+
"elementText"
|
|
11509
|
+
]
|
|
11510
|
+
}
|
|
11511
|
+
],
|
|
11512
|
+
"properties": {
|
|
11513
|
+
"elementText": {
|
|
11514
|
+
"type": "string",
|
|
11515
|
+
"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."
|
|
11516
|
+
},
|
|
11517
|
+
"selector": {
|
|
11518
|
+
"type": "string",
|
|
11519
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11520
|
+
},
|
|
11521
|
+
"timeout": {
|
|
11522
|
+
"type": "integer",
|
|
11523
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11524
|
+
"default": 5000
|
|
11525
|
+
}
|
|
11526
|
+
}
|
|
11527
|
+
}
|
|
11528
|
+
]
|
|
11529
|
+
},
|
|
11530
|
+
"duration": {
|
|
11531
|
+
"type": "integer",
|
|
11532
|
+
"description": "Duration of the drag operation in milliseconds.",
|
|
11533
|
+
"default": 1000,
|
|
11534
|
+
"minimum": 0
|
|
11535
|
+
}
|
|
11536
|
+
},
|
|
11537
|
+
"components": {
|
|
11538
|
+
"schemas": {
|
|
11539
|
+
"elementSpecification": {
|
|
11540
|
+
"anyOf": [
|
|
11541
|
+
{
|
|
11542
|
+
"title": "Element (simple)",
|
|
11543
|
+
"type": "string",
|
|
11544
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11545
|
+
},
|
|
11546
|
+
{
|
|
11547
|
+
"title": "Element (detailed)",
|
|
11548
|
+
"type": "object",
|
|
11549
|
+
"anyOf": [
|
|
11550
|
+
{
|
|
11551
|
+
"required": [
|
|
11552
|
+
"selector"
|
|
11553
|
+
]
|
|
11554
|
+
},
|
|
11555
|
+
{
|
|
11556
|
+
"required": [
|
|
11557
|
+
"elementText"
|
|
11558
|
+
]
|
|
11559
|
+
}
|
|
11560
|
+
],
|
|
11561
|
+
"properties": {
|
|
11562
|
+
"elementText": {
|
|
11563
|
+
"type": "string",
|
|
11564
|
+
"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."
|
|
11565
|
+
},
|
|
11566
|
+
"selector": {
|
|
11567
|
+
"type": "string",
|
|
11568
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11569
|
+
},
|
|
11570
|
+
"timeout": {
|
|
11571
|
+
"type": "integer",
|
|
11572
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11573
|
+
"default": 5000
|
|
11574
|
+
}
|
|
11575
|
+
}
|
|
11576
|
+
}
|
|
11577
|
+
]
|
|
11578
|
+
},
|
|
11579
|
+
"string": {
|
|
11580
|
+
"title": "Element (simple)",
|
|
11581
|
+
"type": "string",
|
|
11582
|
+
"description": "Display text, selector, or regex pattern (enclosed in forward slashes) of the element."
|
|
11583
|
+
},
|
|
11584
|
+
"object": {
|
|
11585
|
+
"title": "Element (detailed)",
|
|
11586
|
+
"type": "object",
|
|
11587
|
+
"anyOf": [
|
|
11588
|
+
{
|
|
11589
|
+
"required": [
|
|
11590
|
+
"selector"
|
|
11591
|
+
]
|
|
11592
|
+
},
|
|
11593
|
+
{
|
|
11594
|
+
"required": [
|
|
11595
|
+
"elementText"
|
|
11596
|
+
]
|
|
11597
|
+
}
|
|
11598
|
+
],
|
|
11599
|
+
"properties": {
|
|
11600
|
+
"elementText": {
|
|
11601
|
+
"type": "string",
|
|
11602
|
+
"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."
|
|
11603
|
+
},
|
|
11604
|
+
"selector": {
|
|
11605
|
+
"type": "string",
|
|
11606
|
+
"description": "Selector of the element. If combined with `elementText`, the element must match both the text and the selector."
|
|
11607
|
+
},
|
|
11608
|
+
"timeout": {
|
|
11609
|
+
"type": "integer",
|
|
11610
|
+
"description": "Max duration in milliseconds to wait for the element to exist.",
|
|
11611
|
+
"default": 5000
|
|
11612
|
+
}
|
|
11613
|
+
}
|
|
11614
|
+
}
|
|
11615
|
+
}
|
|
11616
|
+
},
|
|
11617
|
+
"examples": [
|
|
11618
|
+
{
|
|
11619
|
+
"source": "Table",
|
|
11620
|
+
"target": "#canvas"
|
|
11621
|
+
},
|
|
11622
|
+
{
|
|
11623
|
+
"source": ".draggable-block",
|
|
11624
|
+
"target": ".drop-zone",
|
|
11625
|
+
"duration": 2000
|
|
11626
|
+
},
|
|
11627
|
+
{
|
|
11628
|
+
"source": {
|
|
11629
|
+
"selector": ".widget",
|
|
11630
|
+
"elementText": "Data Table"
|
|
11631
|
+
},
|
|
11632
|
+
"target": {
|
|
11633
|
+
"selector": "#design-canvas"
|
|
11634
|
+
},
|
|
11635
|
+
"duration": 500
|
|
11636
|
+
},
|
|
11637
|
+
{
|
|
11638
|
+
"source": {
|
|
11639
|
+
"selector": ".draggable",
|
|
11640
|
+
"timeout": 10000
|
|
11641
|
+
},
|
|
11642
|
+
"target": {
|
|
11643
|
+
"elementText": "Drop Zone",
|
|
11644
|
+
"timeout": 5000
|
|
11645
|
+
}
|
|
11646
|
+
},
|
|
11647
|
+
{
|
|
11648
|
+
"source": "/Widget Item.*/",
|
|
11649
|
+
"target": "#canvas"
|
|
11650
|
+
},
|
|
11651
|
+
{
|
|
11652
|
+
"source": {
|
|
11653
|
+
"selector": ".draggable",
|
|
11654
|
+
"elementText": "/Button [0-9]+/"
|
|
11655
|
+
},
|
|
11656
|
+
"target": {
|
|
11657
|
+
"elementText": "/Drop Zone.*/"
|
|
11658
|
+
}
|
|
11659
|
+
}
|
|
11660
|
+
]
|
|
11661
|
+
}
|
|
11662
|
+
}
|
|
11663
|
+
}
|
|
11664
|
+
]
|
|
11665
|
+
},
|
|
11066
11666
|
{
|
|
11067
11667
|
"allOf": [
|
|
11068
11668
|
{
|
|
@@ -11851,6 +12451,16 @@
|
|
|
11851
12451
|
{
|
|
11852
12452
|
"checkLink": "https://www.google.com",
|
|
11853
12453
|
"breakpoint": false
|
|
12454
|
+
},
|
|
12455
|
+
{
|
|
12456
|
+
"dragAndDrop": {
|
|
12457
|
+
"source": {
|
|
12458
|
+
"selector": "#sourceElement"
|
|
12459
|
+
},
|
|
12460
|
+
"target": {
|
|
12461
|
+
"selector": "#targetElement"
|
|
12462
|
+
}
|
|
12463
|
+
}
|
|
11854
12464
|
}
|
|
11855
12465
|
]
|
|
11856
12466
|
}
|