wisp-schema 1.22.2 → 1.23.0
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.
- checksums.yaml +4 -4
- data/lib/version.rb +2 -2
- data/lib/wisp-schema.rb +1 -0
- data/stable/actions/press_and_click.json +40 -0
- data/stable/verbs.json +1 -0
- data/wisp.json +41 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 755e733947a639880f7eb6f09a0195518fe115dde38f09872f0105257480c8fe
|
4
|
+
data.tar.gz: 1b925bc8f0ef7fa9970af9cac40d395dbf94ab6792b382872c09aa3807403e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 406a75b1f9bfbd3222ae13101db9c200dd380392a70db3859a48fcd21faaaee2ece8017cd2d0eef09c4ab2a3a7299852cbfc78f73a3ad6687385ca9704cf1d69
|
7
|
+
data.tar.gz: d76e6b7ee5b3bee3ffaa3874e3aa0f685ea7f7b2cc82df438913a249770d427de79923568ec0f0b468fee31c32c99d7b6bd285c969c29a71fed81161f62e0eac
|
data/lib/version.rb
CHANGED
data/lib/wisp-schema.rb
CHANGED
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"action_type": "action",
|
5
|
+
"title": "Press and Click",
|
6
|
+
"description": "Press a combination of keys while clicking on a UI element",
|
7
|
+
"properties": {
|
8
|
+
"action": {
|
9
|
+
"enum": ["press_and_click"]
|
10
|
+
},
|
11
|
+
"id": {"title": "Action ID", "type": "integer"},
|
12
|
+
"uniform_id": { "title": "Preserved Action ID", "type": "string" },
|
13
|
+
"job_step_id": {
|
14
|
+
"title": "The id of the action's related job step",
|
15
|
+
"type": "integer"
|
16
|
+
},
|
17
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
18
|
+
"target": {
|
19
|
+
"title": "Target",
|
20
|
+
"$ref": "ui_element_reference.json"
|
21
|
+
},
|
22
|
+
"keys": {
|
23
|
+
"title": "Keys",
|
24
|
+
"type": "array",
|
25
|
+
"items": {
|
26
|
+
"type": "string"
|
27
|
+
},
|
28
|
+
"description": "Array of key codes to press simultaneously"
|
29
|
+
},
|
30
|
+
"button": {"title": "Mouse Button", "type": "string", "enum": ["left", "middle", "right"]},
|
31
|
+
"hold": {"title": "And Hold", "type": "boolean"},
|
32
|
+
"hold_seconds": {"title": "Hold seconds", "type": "integer"},
|
33
|
+
"version": {
|
34
|
+
"type": "string",
|
35
|
+
"title": "Version"
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"additionalProperties": false,
|
39
|
+
"required": ["action", "target", "keys", "button", "hold", "version"]
|
40
|
+
}
|
data/stable/verbs.json
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
{"$ref": "actions/hover.json"},
|
19
19
|
{"$ref": "actions/navigate.json"},
|
20
20
|
{"$ref": "actions/observe.json"},
|
21
|
+
{"$ref": "actions/press_and_click.json"},
|
21
22
|
{"$ref": "actions/refresh.json"},
|
22
23
|
{"$ref": "actions/scroll.json"},
|
23
24
|
{"$ref": "actions/select.json"},
|
data/wisp.json
CHANGED
@@ -162,6 +162,7 @@
|
|
162
162
|
{"$ref": "#/definitions/hover"},
|
163
163
|
{"$ref": "#/definitions/navigate"},
|
164
164
|
{"$ref": "#/definitions/observe"},
|
165
|
+
{"$ref": "#/definitions/press_and_click"},
|
165
166
|
{"$ref": "#/definitions/refresh"},
|
166
167
|
{"$ref": "#/definitions/scroll"},
|
167
168
|
{"$ref": "#/definitions/select"},
|
@@ -190,6 +191,7 @@
|
|
190
191
|
{"$ref": "#/definitions/hover"},
|
191
192
|
{"$ref": "#/definitions/navigate"},
|
192
193
|
{"$ref": "#/definitions/observe"},
|
194
|
+
{"$ref": "#/definitions/press_and_click"},
|
193
195
|
{"$ref": "#/definitions/refresh"},
|
194
196
|
{"$ref": "#/definitions/scroll"},
|
195
197
|
{"$ref": "#/definitions/select"},
|
@@ -935,6 +937,45 @@
|
|
935
937
|
},
|
936
938
|
"additionalProperties": false,
|
937
939
|
"required": ["action", "confirmation"]
|
940
|
+
},
|
941
|
+
"press_and_click": {
|
942
|
+
"type": "object",
|
943
|
+
"action_type": "action",
|
944
|
+
"title": "Press and Click",
|
945
|
+
"description": "Press a combination of keys while clicking on a UI element",
|
946
|
+
"properties": {
|
947
|
+
"action": {
|
948
|
+
"enum": ["press_and_click"]
|
949
|
+
},
|
950
|
+
"id": {"title": "Action ID", "type": "integer"},
|
951
|
+
"uniform_id": { "title": "Preserved Action ID", "type": "string" },
|
952
|
+
"job_step_id": {
|
953
|
+
"title": "The id of the action's related job step",
|
954
|
+
"type": "integer"
|
955
|
+
},
|
956
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
957
|
+
"target": {
|
958
|
+
"title": "Target",
|
959
|
+
"$ref": "#/definitions/ui_element_reference"
|
960
|
+
},
|
961
|
+
"keys": {
|
962
|
+
"title": "Keys",
|
963
|
+
"type": "array",
|
964
|
+
"items": {
|
965
|
+
"type": "string"
|
966
|
+
},
|
967
|
+
"description": "Array of key codes to press simultaneously"
|
968
|
+
},
|
969
|
+
"button": {"title": "Mouse Button", "type": "string", "enum": ["left", "middle", "right"]},
|
970
|
+
"hold": {"title": "And Hold", "type": "boolean"},
|
971
|
+
"hold_seconds": {"title": "Hold seconds", "type": "integer"},
|
972
|
+
"version": {
|
973
|
+
"type": "string",
|
974
|
+
"title": "Version"
|
975
|
+
}
|
976
|
+
},
|
977
|
+
"additionalProperties": false,
|
978
|
+
"required": ["action", "target", "keys", "button", "hold"]
|
938
979
|
}
|
939
980
|
},
|
940
981
|
"type": "object",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wisp-schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Grodowski
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- stable/actions/hover.json
|
92
92
|
- stable/actions/navigate.json
|
93
93
|
- stable/actions/observe.json
|
94
|
+
- stable/actions/press_and_click.json
|
94
95
|
- stable/actions/refresh.json
|
95
96
|
- stable/actions/scroll.json
|
96
97
|
- stable/actions/select.json
|