wisp-schema 1.3.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ead9ad84d80f54652407ca70da3130d955e68d6b631feb43c48274c8fd3bf98d
4
- data.tar.gz: 9c64e872d8b5e4876c08eea20fc162daefca73d5eecd030796f9d129d32ace1f
3
+ metadata.gz: 2a872ac86d67fa0e02f5c6131423b385ae142598be783e35e6218a0ca79bfef9
4
+ data.tar.gz: bdd5e094deb5b92b1dcdadd6be39d68535b4d974ec4bbde3d6b7898f4b12ddb3
5
5
  SHA512:
6
- metadata.gz: c519811ec985fab344eb097c664ade09f9d9aa04695f4c2bc6466ad0431bd544960c2c776d61bee4a3dfcfbceed88a1fd8ea1d5ff895901985c9963c5f03590a
7
- data.tar.gz: d15712efc9a1807b940f2965bc1be3216377627fa6cb1e05f64193de8958c8a75f6ea7a6264d25ad0c15f0068443a0eb48a0b9f671d74dfaf547142b644905bb
6
+ metadata.gz: cb8947d2c7a399bc0e0f27c2299c48c2f74c1dbbf4d66947a2530aaa7a8649a216674e7ec36134fd5a59bfcf24cb76ac9f608cc5c8c0aadba6437d213870451b
7
+ data.tar.gz: 5df559f1d6ef65e1ef28cb8411e9e9df56ed545745a858cab8a50a3cb53cd7af6ac268dc92595aeff04ac3db4644925292480bb27788cc4562236f8d5c6da5a9
data/canary-wisp.json CHANGED
@@ -62,6 +62,7 @@
62
62
  "title": "Wisp Verb",
63
63
  "oneOf": [
64
64
  {"$ref": "#/definitions/click"},
65
+ {"$ref": "#/definitions/comment"},
65
66
  {"$ref": "#/definitions/double_click"},
66
67
  {"$ref": "#/definitions/fill"},
67
68
  {"$ref": "#/definitions/type"},
@@ -104,6 +105,23 @@
104
105
  "additionalProperties": false,
105
106
  "required": ["action", "target", "button", "hold"]
106
107
  },
108
+ "comment": {
109
+ "type": "object",
110
+ "action_type": "noop",
111
+ "title": "Comment",
112
+ "description": "A non-functional comment for others reading the test",
113
+ "properties": {
114
+ "action": {
115
+ "enum": ["comment"]
116
+ },
117
+ "delay_after": {"title": "Delay after in seconds", "type": "integer"},
118
+ "embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
119
+ "id": {"title": "Action ID", "type": "integer"},
120
+ "text": {"title": "Text", "type": "string"}
121
+ },
122
+ "additionalProperties": false,
123
+ "required": ["action", "text"]
124
+ },
107
125
  "double_click": {
108
126
  "type": "object",
109
127
  "action_type": "action",
@@ -354,6 +372,10 @@
354
372
  "test_id": {
355
373
  "title": "Test ID",
356
374
  "type": "integer"
375
+ },
376
+ "id": {
377
+ "title": "Action ID",
378
+ "type": "integer"
357
379
  }
358
380
  },
359
381
  "additionalProperties": false,
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wisp
4
- VERSION = '1.3.1'
5
- STABLE_VERSION = '1.3.1'
4
+ VERSION = '1.4.2'
5
+ STABLE_VERSION = '1.4.2'
6
6
  CANARY_VERSION = '2.0.0'
7
7
  end
data/lib/wisp-schema.rb CHANGED
@@ -16,6 +16,7 @@ module Wisp
16
16
  ACTIONS = [
17
17
  "click",
18
18
  "close_tab",
19
+ "comment",
19
20
  "double_click",
20
21
  "drag_and_drop",
21
22
  "fill",
@@ -0,0 +1,21 @@
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
+ "delay_after": {"title": "Delay after in seconds", "type": "integer"},
13
+ "text": {"title": "Text", "type": "string"},
14
+ "version": {
15
+ "type": "string",
16
+ "title": "Version"
17
+ }
18
+ },
19
+ "additionalProperties": false,
20
+ "required": ["action", "text"]
21
+ }
data/wisp.json CHANGED
@@ -62,6 +62,7 @@
62
62
  "title": "Wisp Verb",
63
63
  "oneOf": [
64
64
  {"$ref": "#/definitions/click"},
65
+ {"$ref": "#/definitions/comment"},
65
66
  {"$ref": "#/definitions/double_click"},
66
67
  {"$ref": "#/definitions/fill"},
67
68
  {"$ref": "#/definitions/type"},
@@ -104,6 +105,23 @@
104
105
  "additionalProperties": false,
105
106
  "required": ["action", "target", "button", "hold"]
106
107
  },
108
+ "comment": {
109
+ "type": "object",
110
+ "action_type": "noop",
111
+ "title": "Comment",
112
+ "description": "A non-functional comment for others reading the test",
113
+ "properties": {
114
+ "action": {
115
+ "enum": ["comment"]
116
+ },
117
+ "delay_after": {"title": "Delay after in seconds", "type": "integer"},
118
+ "embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
119
+ "id": {"title": "Action ID", "type": "integer"},
120
+ "text": {"title": "Text", "type": "string"}
121
+ },
122
+ "additionalProperties": false,
123
+ "required": ["action", "text"]
124
+ },
107
125
  "double_click": {
108
126
  "type": "object",
109
127
  "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.3.1
4
+ version: 1.4.2
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.17
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.17
28
+ version: 0.2.19
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: semantic
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -53,6 +53,7 @@ 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