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