wisp-schema 1.2.3 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/canary-wisp.json +19 -18
- data/lib/version.rb +2 -2
- data/lib/wisp-schema.rb +1 -1
- data/stable/actions/comment.json +20 -0
- data/wisp.json +19 -18
- metadata +4 -4
- data/stable/actions/loaded.json +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d6c5db386137d2c3c2358c69b49a21ed2955075ebb05187af035da1f75a57e2
|
4
|
+
data.tar.gz: 97d49c11d2114fc0d10b0bfa33ed13c4143108576567146a0efd80ac4c1f2a9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cacf8234ad27ef74ec2dc8a46acd626a1335f9f8f3d2833ee4b9bf7232c60b3f939b50448bf97b4f3562384215c2d865f3fd455d920ee9dccf53d6fce6fa7f9d
|
7
|
+
data.tar.gz: 3bd1b7278d12c686a63f97334a5b8b6c6478c073f6b7e6daa366ce9849138a27a56958070f98f84f26fb6eda6d3e0f2d428402d2741e488210b79565a5580900
|
data/canary-wisp.json
CHANGED
@@ -77,7 +77,6 @@
|
|
77
77
|
{"$ref": "#/definitions/tester_instruction"},
|
78
78
|
{"$ref": "#/definitions/embedded_test"},
|
79
79
|
{"$ref": "#/definitions/observe"},
|
80
|
-
{"$ref": "#/definitions/loaded"},
|
81
80
|
{"$ref": "#/definitions/tester_confirmation"}
|
82
81
|
]
|
83
82
|
},
|
@@ -105,6 +104,21 @@
|
|
105
104
|
"additionalProperties": false,
|
106
105
|
"required": ["action", "target", "button", "hold"]
|
107
106
|
},
|
107
|
+
"comment": {
|
108
|
+
"type": "object",
|
109
|
+
"action_type": "noop",
|
110
|
+
"title": "Comment",
|
111
|
+
"description": "A non-functional comment for others reading the test",
|
112
|
+
"properties": {
|
113
|
+
"action": {
|
114
|
+
"enum": ["comment"]
|
115
|
+
},
|
116
|
+
"id": {"title": "Action ID", "type": "integer"},
|
117
|
+
"text": {"title": "Text", "type": "string"}
|
118
|
+
},
|
119
|
+
"additionalProperties": false,
|
120
|
+
"required": ["action", "text"]
|
121
|
+
},
|
108
122
|
"double_click": {
|
109
123
|
"type": "object",
|
110
124
|
"action_type": "action",
|
@@ -355,6 +369,10 @@
|
|
355
369
|
"test_id": {
|
356
370
|
"title": "Test ID",
|
357
371
|
"type": "integer"
|
372
|
+
},
|
373
|
+
"id": {
|
374
|
+
"title": "Action ID",
|
375
|
+
"type": "integer"
|
358
376
|
}
|
359
377
|
},
|
360
378
|
"additionalProperties": false,
|
@@ -402,23 +420,6 @@
|
|
402
420
|
"additionalProperties": false,
|
403
421
|
"required": ["action", "object", "visibility"]
|
404
422
|
},
|
405
|
-
"loaded": {
|
406
|
-
"type": "object",
|
407
|
-
"action_type": "assertion",
|
408
|
-
"title": "Loaded",
|
409
|
-
"description": "Checks if specified page has loaded",
|
410
|
-
"properties": {
|
411
|
-
"action": {
|
412
|
-
"enum": ["loaded"]
|
413
|
-
},
|
414
|
-
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
415
|
-
"id": {"title": "Action ID", "type": "integer"},
|
416
|
-
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
417
|
-
"page": {"title": "Page", "type": "string"}
|
418
|
-
},
|
419
|
-
"additionalProperties": false,
|
420
|
-
"required": ["action", "page"]
|
421
|
-
},
|
422
423
|
"tester_confirmation": {
|
423
424
|
"type": "object",
|
424
425
|
"action_type": "assertion",
|
data/lib/version.rb
CHANGED
data/lib/wisp-schema.rb
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"action_type": "noop",
|
5
|
+
"title": "Comment",
|
6
|
+
"description": "A non-functional comment for others reading the test",
|
7
|
+
"properties": {
|
8
|
+
"action": {
|
9
|
+
"enum": ["comment"]
|
10
|
+
},
|
11
|
+
"id": {"title": "Action ID", "type": "integer"},
|
12
|
+
"text": {"title": "Text", "type": "string"},
|
13
|
+
"version": {
|
14
|
+
"type": "string",
|
15
|
+
"title": "Version"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"additionalProperties": false,
|
19
|
+
"required": ["action", "text"]
|
20
|
+
}
|
data/wisp.json
CHANGED
@@ -77,7 +77,6 @@
|
|
77
77
|
{"$ref": "#/definitions/tester_instruction"},
|
78
78
|
{"$ref": "#/definitions/embedded_test"},
|
79
79
|
{"$ref": "#/definitions/observe"},
|
80
|
-
{"$ref": "#/definitions/loaded"},
|
81
80
|
{"$ref": "#/definitions/tester_confirmation"}
|
82
81
|
]
|
83
82
|
},
|
@@ -105,6 +104,21 @@
|
|
105
104
|
"additionalProperties": false,
|
106
105
|
"required": ["action", "target", "button", "hold"]
|
107
106
|
},
|
107
|
+
"comment": {
|
108
|
+
"type": "object",
|
109
|
+
"action_type": "noop",
|
110
|
+
"title": "Comment",
|
111
|
+
"description": "A non-functional comment for others reading the test",
|
112
|
+
"properties": {
|
113
|
+
"action": {
|
114
|
+
"enum": ["comment"]
|
115
|
+
},
|
116
|
+
"id": {"title": "Action ID", "type": "integer"},
|
117
|
+
"text": {"title": "Text", "type": "string"}
|
118
|
+
},
|
119
|
+
"additionalProperties": false,
|
120
|
+
"required": ["action", "text"]
|
121
|
+
},
|
108
122
|
"double_click": {
|
109
123
|
"type": "object",
|
110
124
|
"action_type": "action",
|
@@ -355,6 +369,10 @@
|
|
355
369
|
"test_id": {
|
356
370
|
"title": "Test ID",
|
357
371
|
"type": "integer"
|
372
|
+
},
|
373
|
+
"id": {
|
374
|
+
"title": "Action ID",
|
375
|
+
"type": "integer"
|
358
376
|
}
|
359
377
|
},
|
360
378
|
"additionalProperties": false,
|
@@ -402,23 +420,6 @@
|
|
402
420
|
"additionalProperties": false,
|
403
421
|
"required": ["action", "object", "visibility"]
|
404
422
|
},
|
405
|
-
"loaded": {
|
406
|
-
"type": "object",
|
407
|
-
"action_type": "assertion",
|
408
|
-
"title": "Loaded",
|
409
|
-
"description": "Checks if specified page has loaded",
|
410
|
-
"properties": {
|
411
|
-
"action": {
|
412
|
-
"enum": ["loaded"]
|
413
|
-
},
|
414
|
-
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
415
|
-
"id": {"title": "Action ID", "type": "integer"},
|
416
|
-
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
417
|
-
"page": {"title": "Page", "type": "string"}
|
418
|
-
},
|
419
|
-
"additionalProperties": false,
|
420
|
-
"required": ["action", "page"]
|
421
|
-
},
|
422
423
|
"tester_confirmation": {
|
423
424
|
"type": "object",
|
424
425
|
"action_type": "assertion",
|
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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Grodowski
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.2.
|
21
|
+
version: 0.2.19
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.2.
|
28
|
+
version: 0.2.19
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: semantic
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,11 +53,11 @@ files:
|
|
53
53
|
- nouns.json
|
54
54
|
- stable/actions/click.json
|
55
55
|
- stable/actions/close_tab.json
|
56
|
+
- stable/actions/comment.json
|
56
57
|
- stable/actions/double_click.json
|
57
58
|
- stable/actions/drag_and_drop.json
|
58
59
|
- stable/actions/fill.json
|
59
60
|
- stable/actions/hover.json
|
60
|
-
- stable/actions/loaded.json
|
61
61
|
- stable/actions/navigate.json
|
62
62
|
- stable/actions/observe.json
|
63
63
|
- stable/actions/refresh.json
|
data/stable/actions/loaded.json
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
-
"type": "object",
|
4
|
-
"action_type": "assertion",
|
5
|
-
"title": "Loaded",
|
6
|
-
"description": "Checks if specified page has loaded",
|
7
|
-
"properties": {
|
8
|
-
"action": {
|
9
|
-
"enum": ["loaded"]
|
10
|
-
},
|
11
|
-
"id": {"title": "Action ID", "type": "integer"},
|
12
|
-
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
13
|
-
"page": {"title": "Page", "type": "string"},
|
14
|
-
"version": {
|
15
|
-
"type": "string",
|
16
|
-
"title": "Version"
|
17
|
-
}
|
18
|
-
},
|
19
|
-
"additionalProperties": false,
|
20
|
-
"required": ["action", "page", "version"]
|
21
|
-
}
|