wisp-schema 1.5.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/canary-nouns.json +1 -1
- data/canary-wisp.json +23 -1
- data/lib/version.rb +2 -2
- data/lib/wisp-schema.rb +1 -0
- data/nouns.json +1 -1
- data/stable/actions/ai_confirmation.json +21 -0
- data/wisp.json +23 -1
- 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: f951c7c703e9cb92701bd9be75a87a7c217090d06ce7a7faafe4ab6a2cd48b94
|
4
|
+
data.tar.gz: 0c8d3b49d67ece5f2620ef278578c395133bff5480d45fda760e9ac2e51e97ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ce800a08f8849c68129f2f5d43bfc8e134aad7c3a839a30ce6a0ca0e685608a8118e94b41041415349c633933b8451b3bc908f0f1469272c39d08eba5f6b62
|
7
|
+
data.tar.gz: c85b5f0f7ec39f1dda8dc3bc0a4a41f30b91c9aad95e2e9118af464eec989dee40ff225aec3b357a6adf989a02ccc6ff6a148c27da846cbd4afa4c0e0ef3d2cf
|
data/canary-nouns.json
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
14
14
|
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
15
15
|
"match_mode": {
|
16
|
-
"enum": ["pixel", "pixel_and_ocr", "semantic"]
|
16
|
+
"enum": ["pixel", "pixel_and_ocr", "semantic", "strict"]
|
17
17
|
},
|
18
18
|
"ocr_expression": {
|
19
19
|
"title": "Expression to use for text matching",
|
data/canary-wisp.json
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
21
21
|
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
22
22
|
"match_mode": {
|
23
|
-
"enum": ["pixel", "pixel_and_ocr", "semantic"]
|
23
|
+
"enum": ["pixel", "pixel_and_ocr", "semantic", "strict"]
|
24
24
|
},
|
25
25
|
"ocr_expression": {
|
26
26
|
"title": "Expression to use for text matching",
|
@@ -61,6 +61,7 @@
|
|
61
61
|
"verb": {
|
62
62
|
"title": "Wisp Verb",
|
63
63
|
"oneOf": [
|
64
|
+
{"$ref": "#/definitions/ai_confirmation"},
|
64
65
|
{"$ref": "#/definitions/click"},
|
65
66
|
{"$ref": "#/definitions/comment"},
|
66
67
|
{"$ref": "#/definitions/double_click"},
|
@@ -81,6 +82,27 @@
|
|
81
82
|
{"$ref": "#/definitions/tester_confirmation"}
|
82
83
|
]
|
83
84
|
},
|
85
|
+
"ai_confirmation": {
|
86
|
+
"type": "object",
|
87
|
+
"action_type": "assertion",
|
88
|
+
"title": "AI Confirmation",
|
89
|
+
"description": "A Yes (pass) or No (fail) question answered by AI",
|
90
|
+
"properties": {
|
91
|
+
"action": {
|
92
|
+
"enum": ["ai_confirmation"]
|
93
|
+
},
|
94
|
+
"id": {"title": "Action ID", "type": "integer"},
|
95
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
96
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
97
|
+
"question": {"title": "Question for the AI", "type": "string"},
|
98
|
+
"version": {
|
99
|
+
"type": "string",
|
100
|
+
"title": "Version"
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"additionalProperties": false,
|
104
|
+
"required": ["action", "question"]
|
105
|
+
},
|
84
106
|
"click": {
|
85
107
|
"type": "object",
|
86
108
|
"action_type": "action",
|
data/lib/version.rb
CHANGED
data/lib/wisp-schema.rb
CHANGED
data/nouns.json
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
14
14
|
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
15
15
|
"match_mode": {
|
16
|
-
"enum": ["pixel", "pixel_and_ocr", "semantic"]
|
16
|
+
"enum": ["pixel", "pixel_and_ocr", "semantic", "strict"]
|
17
17
|
},
|
18
18
|
"ocr_expression": {
|
19
19
|
"title": "Expression to use for text matching",
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"action_type": "assertion",
|
5
|
+
"title": "AI Confirmation",
|
6
|
+
"description": "A Yes (pass) or No (fail) question answered by AI",
|
7
|
+
"properties": {
|
8
|
+
"action": {
|
9
|
+
"enum": ["ai_confirmation"]
|
10
|
+
},
|
11
|
+
"id": {"title": "Action ID", "type": "integer"},
|
12
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
13
|
+
"question": {"title": "Question for the AI", "type": "string"},
|
14
|
+
"version": {
|
15
|
+
"type": "string",
|
16
|
+
"title": "Version"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"additionalProperties": false,
|
20
|
+
"required": ["action", "question"]
|
21
|
+
}
|
data/wisp.json
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
21
21
|
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
22
22
|
"match_mode": {
|
23
|
-
"enum": ["pixel", "pixel_and_ocr", "semantic"]
|
23
|
+
"enum": ["pixel", "pixel_and_ocr", "semantic", "strict"]
|
24
24
|
},
|
25
25
|
"ocr_expression": {
|
26
26
|
"title": "Expression to use for text matching",
|
@@ -61,6 +61,7 @@
|
|
61
61
|
"verb": {
|
62
62
|
"title": "Wisp Verb",
|
63
63
|
"oneOf": [
|
64
|
+
{"$ref": "#/definitions/ai_confirmation"},
|
64
65
|
{"$ref": "#/definitions/click"},
|
65
66
|
{"$ref": "#/definitions/comment"},
|
66
67
|
{"$ref": "#/definitions/double_click"},
|
@@ -81,6 +82,27 @@
|
|
81
82
|
{"$ref": "#/definitions/tester_confirmation"}
|
82
83
|
]
|
83
84
|
},
|
85
|
+
"ai_confirmation": {
|
86
|
+
"type": "object",
|
87
|
+
"action_type": "assertion",
|
88
|
+
"title": "AI Confirmation",
|
89
|
+
"description": "A Yes (pass) or No (fail) question answered by AI",
|
90
|
+
"properties": {
|
91
|
+
"action": {
|
92
|
+
"enum": ["ai_confirmation"]
|
93
|
+
},
|
94
|
+
"id": {"title": "Action ID", "type": "integer"},
|
95
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
96
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
97
|
+
"question": {"title": "Question for the AI", "type": "string"},
|
98
|
+
"version": {
|
99
|
+
"type": "string",
|
100
|
+
"title": "Version"
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"additionalProperties": false,
|
104
|
+
"required": ["action", "question"]
|
105
|
+
},
|
84
106
|
"click": {
|
85
107
|
"type": "object",
|
86
108
|
"action_type": "action",
|
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.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Grodowski
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- lib/version.rb
|
52
52
|
- lib/wisp-schema.rb
|
53
53
|
- nouns.json
|
54
|
+
- stable/actions/ai_confirmation.json
|
54
55
|
- stable/actions/click.json
|
55
56
|
- stable/actions/close_tab.json
|
56
57
|
- stable/actions/comment.json
|