wisp-schema 1.3.1 → 1.4.0

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: 7d6c5db386137d2c3c2358c69b49a21ed2955075ebb05187af035da1f75a57e2
4
+ data.tar.gz: 97d49c11d2114fc0d10b0bfa33ed13c4143108576567146a0efd80ac4c1f2a9b
5
5
  SHA512:
6
- metadata.gz: c519811ec985fab344eb097c664ade09f9d9aa04695f4c2bc6466ad0431bd544960c2c776d61bee4a3dfcfbceed88a1fd8ea1d5ff895901985c9963c5f03590a
7
- data.tar.gz: d15712efc9a1807b940f2965bc1be3216377627fa6cb1e05f64193de8958c8a75f6ea7a6264d25ad0c15f0068443a0eb48a0b9f671d74dfaf547142b644905bb
6
+ metadata.gz: cacf8234ad27ef74ec2dc8a46acd626a1335f9f8f3d2833ee4b9bf7232c60b3f939b50448bf97b4f3562384215c2d865f3fd455d920ee9dccf53d6fce6fa7f9d
7
+ data.tar.gz: 3bd1b7278d12c686a63f97334a5b8b6c6478c073f6b7e6daa366ce9849138a27a56958070f98f84f26fb6eda6d3e0f2d428402d2741e488210b79565a5580900
data/canary-wisp.json CHANGED
@@ -104,6 +104,21 @@
104
104
  "additionalProperties": false,
105
105
  "required": ["action", "target", "button", "hold"]
106
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
+ },
107
122
  "double_click": {
108
123
  "type": "object",
109
124
  "action_type": "action",
@@ -354,6 +369,10 @@
354
369
  "test_id": {
355
370
  "title": "Test ID",
356
371
  "type": "integer"
372
+ },
373
+ "id": {
374
+ "title": "Action ID",
375
+ "type": "integer"
357
376
  }
358
377
  },
359
378
  "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.0'
5
+ STABLE_VERSION = '1.4.0'
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,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
@@ -104,6 +104,21 @@
104
104
  "additionalProperties": false,
105
105
  "required": ["action", "target", "button", "hold"]
106
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
+ },
107
122
  "double_click": {
108
123
  "type": "object",
109
124
  "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.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.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