wisp-schema 0.19.1 → 1.0.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/canary-wisp.json +53 -169
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0daa69d643e44686ba49c08d4a23d292675cbf8ed8ebcc06edb717baf8a66c7
|
|
4
|
+
data.tar.gz: f2fa4b9202c00dfb4fd283c007fafe1d328902efa3106107d479da48b7a0adc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7deb73f4bbb3f4a5ab23b167bda667bb4f1240db0570dc506b1bdff7c102911d1e7c7e505d8214e9d606d0dd7e4e195dccae081746f42f4b2aac5b6c342bc67
|
|
7
|
+
data.tar.gz: 2cab85011f965738c53a294cbc55bddf9369100b8aa110ea7fa6209eb5baabd4db508c566d6da2b7d0f1fd7fff4999dfdcb43a52ca34d805c9d189004a6c6b8c
|
data/canary-wisp.json
CHANGED
|
@@ -67,24 +67,17 @@
|
|
|
67
67
|
{"$ref": "#/definitions/type"},
|
|
68
68
|
{"$ref": "#/definitions/send_key"},
|
|
69
69
|
{"$ref": "#/definitions/hover"},
|
|
70
|
-
{"$ref": "#/definitions/
|
|
71
|
-
{"$ref": "#/definitions/checkbox_check"},
|
|
72
|
-
{"$ref": "#/definitions/checkbox_uncheck"},
|
|
70
|
+
{"$ref": "#/definitions/select"},
|
|
73
71
|
{"$ref": "#/definitions/refresh"},
|
|
74
72
|
{"$ref": "#/definitions/navigate"},
|
|
75
|
-
{"$ref": "#/definitions/navigate_new_tab"},
|
|
76
|
-
{"$ref": "#/definitions/navigate_incognito_tab"},
|
|
77
73
|
{"$ref": "#/definitions/close_tab"},
|
|
78
74
|
{"$ref": "#/definitions/scroll"},
|
|
79
|
-
{"$ref": "#/definitions/
|
|
75
|
+
{"$ref": "#/definitions/wait"},
|
|
80
76
|
{"$ref": "#/definitions/drag_and_drop"},
|
|
81
|
-
{"$ref": "#/definitions/
|
|
82
|
-
{"$ref": "#/definitions/
|
|
83
|
-
{"$ref": "#/definitions/
|
|
84
|
-
{"$ref": "#/definitions/
|
|
85
|
-
{"$ref": "#/definitions/disappear"},
|
|
86
|
-
{"$ref": "#/definitions/loaded"},
|
|
87
|
-
{"$ref": "#/definitions/plain_language_assertion"}
|
|
77
|
+
{"$ref": "#/definitions/tester_instruction"},
|
|
78
|
+
{"$ref": "#/definitions/embedded_test"},
|
|
79
|
+
{"$ref": "#/definitions/observe"},
|
|
80
|
+
{"$ref": "#/definitions/tester_confirmation"}
|
|
88
81
|
]
|
|
89
82
|
},
|
|
90
83
|
"click": {
|
|
@@ -95,15 +88,17 @@
|
|
|
95
88
|
"action": {
|
|
96
89
|
"enum": ["click"]
|
|
97
90
|
},
|
|
98
|
-
"
|
|
91
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
99
92
|
"target": {
|
|
100
93
|
"title": "Target",
|
|
101
94
|
"$ref": "#/definitions/noun"
|
|
102
95
|
},
|
|
103
|
-
"button": {"title": "Mouse Button", "type": "string", "enum": ["left", "middle", "right"]}
|
|
96
|
+
"button": {"title": "Mouse Button", "type": "string", "enum": ["left", "middle", "right"]},
|
|
97
|
+
"hold": {"title": "And Hold", "type": "boolean"},
|
|
98
|
+
"hold_seconds": {"title": "Hold seconds", "type": "integer"}
|
|
104
99
|
},
|
|
105
100
|
"additionalProperties": false,
|
|
106
|
-
"required": ["action", "target"]
|
|
101
|
+
"required": ["action", "target", "button", "hold"]
|
|
107
102
|
},
|
|
108
103
|
"double_click": {
|
|
109
104
|
"type": "object",
|
|
@@ -113,7 +108,7 @@
|
|
|
113
108
|
"action": {
|
|
114
109
|
"enum": ["double_click"]
|
|
115
110
|
},
|
|
116
|
-
"
|
|
111
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
117
112
|
"target": {
|
|
118
113
|
"title": "Target",
|
|
119
114
|
"$ref": "#/definitions/noun"
|
|
@@ -130,13 +125,12 @@
|
|
|
130
125
|
"action": {
|
|
131
126
|
"enum": ["fill"]
|
|
132
127
|
},
|
|
133
|
-
"
|
|
128
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
134
129
|
"target": {
|
|
135
130
|
"title": "Target",
|
|
136
131
|
"$ref": "#/definitions/noun"
|
|
137
132
|
},
|
|
138
|
-
"text": {"title": "Text", "type": "string"}
|
|
139
|
-
"method": { "title": "Text entry method", "type": "string", "enum": ["pasting", "typing"] }
|
|
133
|
+
"text": {"title": "Text", "type": "string"}
|
|
140
134
|
},
|
|
141
135
|
"additionalProperties": false,
|
|
142
136
|
"required": ["action", "target", "text"]
|
|
@@ -149,9 +143,8 @@
|
|
|
149
143
|
"action": {
|
|
150
144
|
"enum": ["type"]
|
|
151
145
|
},
|
|
152
|
-
"
|
|
153
|
-
"text": {"title": "Text", "type": "string"}
|
|
154
|
-
"method": { "title": "Text entry method", "type": "string", "enum": ["pasting", "typing"] }
|
|
146
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
147
|
+
"text": {"title": "Text", "type": "string"}
|
|
155
148
|
},
|
|
156
149
|
"additionalProperties": false,
|
|
157
150
|
"required": ["action", "text"]
|
|
@@ -164,7 +157,7 @@
|
|
|
164
157
|
"action": {
|
|
165
158
|
"enum": ["send_key"]
|
|
166
159
|
},
|
|
167
|
-
"
|
|
160
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
168
161
|
"key": {"title": "Key", "type": "string"},
|
|
169
162
|
"modifier": {"title": "Modifier", "type": "string"}
|
|
170
163
|
},
|
|
@@ -179,7 +172,7 @@
|
|
|
179
172
|
"action": {
|
|
180
173
|
"enum": ["hover"]
|
|
181
174
|
},
|
|
182
|
-
"
|
|
175
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
183
176
|
"target": {
|
|
184
177
|
"title": "Target",
|
|
185
178
|
"$ref": "#/definitions/noun"
|
|
@@ -188,15 +181,15 @@
|
|
|
188
181
|
"additionalProperties": false,
|
|
189
182
|
"required": ["action", "target"]
|
|
190
183
|
},
|
|
191
|
-
"
|
|
184
|
+
"select": {
|
|
192
185
|
"type": "object",
|
|
193
|
-
"title": "
|
|
186
|
+
"title": "Select",
|
|
194
187
|
"description": "Selects specified item from the dropdown",
|
|
195
188
|
"properties": {
|
|
196
189
|
"action": {
|
|
197
|
-
"enum": ["
|
|
190
|
+
"enum": ["select"]
|
|
198
191
|
},
|
|
199
|
-
"
|
|
192
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
200
193
|
"target": {
|
|
201
194
|
"title": "Target",
|
|
202
195
|
"$ref": "#/definitions/noun"
|
|
@@ -209,40 +202,6 @@
|
|
|
209
202
|
"additionalProperties": false,
|
|
210
203
|
"required": ["action", "target", "option"]
|
|
211
204
|
},
|
|
212
|
-
"checkbox_check": {
|
|
213
|
-
"type": "object",
|
|
214
|
-
"title": "Checkbox Check",
|
|
215
|
-
"description": "Checks specified checkbox",
|
|
216
|
-
"properties": {
|
|
217
|
-
"action": {
|
|
218
|
-
"enum": ["checkbox_check"]
|
|
219
|
-
},
|
|
220
|
-
"custom_action_id": {"title": "Custom Action ID", "type": "integer"},
|
|
221
|
-
"target": {
|
|
222
|
-
"title": "Target",
|
|
223
|
-
"$ref": "#/definitions/noun"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"additionalProperties": false,
|
|
227
|
-
"required": ["action", "target"]
|
|
228
|
-
},
|
|
229
|
-
"checkbox_uncheck": {
|
|
230
|
-
"type": "object",
|
|
231
|
-
"title": "Checkbox Uncheck",
|
|
232
|
-
"description": "Unchecks specified checkbox",
|
|
233
|
-
"properties": {
|
|
234
|
-
"action": {
|
|
235
|
-
"enum": ["checkbox_uncheck"]
|
|
236
|
-
},
|
|
237
|
-
"custom_action_id": {"title": "Custom Action ID", "type": "integer"},
|
|
238
|
-
"target": {
|
|
239
|
-
"title": "Target",
|
|
240
|
-
"$ref": "#/definitions/noun"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"additionalProperties": false,
|
|
244
|
-
"required": ["action", "target"]
|
|
245
|
-
},
|
|
246
205
|
"refresh": {
|
|
247
206
|
"type": "object",
|
|
248
207
|
"title": "Refresh",
|
|
@@ -251,7 +210,7 @@
|
|
|
251
210
|
"action": {
|
|
252
211
|
"enum": ["refresh"]
|
|
253
212
|
},
|
|
254
|
-
"
|
|
213
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"}
|
|
255
214
|
},
|
|
256
215
|
"additionalProperties": false,
|
|
257
216
|
"required": ["action"]
|
|
@@ -264,36 +223,9 @@
|
|
|
264
223
|
"action": {
|
|
265
224
|
"enum": ["navigate"]
|
|
266
225
|
},
|
|
267
|
-
"
|
|
268
|
-
"url": {"title": "URL", "type": "string"}
|
|
269
|
-
|
|
270
|
-
"additionalProperties": false,
|
|
271
|
-
"required": ["action", "url"]
|
|
272
|
-
},
|
|
273
|
-
"navigate_new_tab": {
|
|
274
|
-
"type": "object",
|
|
275
|
-
"title": "Navigate - New Tab",
|
|
276
|
-
"description": "Navigates to specified URL in a new tab",
|
|
277
|
-
"properties": {
|
|
278
|
-
"action": {
|
|
279
|
-
"enum": ["navigate_new_tab"]
|
|
280
|
-
},
|
|
281
|
-
"custom_action_id": {"title": "Custom Action ID", "type": "integer"},
|
|
282
|
-
"url": {"title": "URL", "type": "string"}
|
|
283
|
-
},
|
|
284
|
-
"additionalProperties": false,
|
|
285
|
-
"required": ["action", "url"]
|
|
286
|
-
},
|
|
287
|
-
"navigate_incognito_tab": {
|
|
288
|
-
"type": "object",
|
|
289
|
-
"title": "Navigate - Incognito Tab",
|
|
290
|
-
"description": "Navigates to specified URL in a new incognito tab",
|
|
291
|
-
"properties": {
|
|
292
|
-
"action": {
|
|
293
|
-
"enum": ["navigate_incognito_tab"]
|
|
294
|
-
},
|
|
295
|
-
"custom_action_id": {"title": "Custom Action ID", "type": "integer"},
|
|
296
|
-
"url": {"title": "URL", "type": "string"}
|
|
226
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
227
|
+
"url": {"title": "URL", "type": "string"},
|
|
228
|
+
"tab": {"title": "Tab", "type": "string", "enum": ["current", "new", "incognito"]}
|
|
297
229
|
},
|
|
298
230
|
"additionalProperties": false,
|
|
299
231
|
"required": ["action", "url"]
|
|
@@ -306,7 +238,7 @@
|
|
|
306
238
|
"action": {
|
|
307
239
|
"enum": ["close_tab"]
|
|
308
240
|
},
|
|
309
|
-
"
|
|
241
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"}
|
|
310
242
|
},
|
|
311
243
|
"additionalProperties": false,
|
|
312
244
|
"required": ["action"]
|
|
@@ -319,7 +251,7 @@
|
|
|
319
251
|
"action": {
|
|
320
252
|
"enum": ["scroll"]
|
|
321
253
|
},
|
|
322
|
-
"
|
|
254
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
323
255
|
"direction": {"title": "Direction", "type": "string", "enum": ["up", "down", "left", "right"]},
|
|
324
256
|
"target": {
|
|
325
257
|
"title": "Target",
|
|
@@ -329,15 +261,15 @@
|
|
|
329
261
|
"additionalProperties": false,
|
|
330
262
|
"required": ["action", "direction", "target"]
|
|
331
263
|
},
|
|
332
|
-
"
|
|
264
|
+
"wait": {
|
|
333
265
|
"type": "object",
|
|
334
|
-
"title": "
|
|
266
|
+
"title": "Wait",
|
|
335
267
|
"description": "Waits for a number of seconds",
|
|
336
268
|
"properties": {
|
|
337
269
|
"action": {
|
|
338
|
-
"enum": ["
|
|
270
|
+
"enum": ["wait"]
|
|
339
271
|
},
|
|
340
|
-
"
|
|
272
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
341
273
|
"seconds": {"title": "seconds", "type": "integer"}
|
|
342
274
|
},
|
|
343
275
|
"additionalProperties": false,
|
|
@@ -351,7 +283,7 @@
|
|
|
351
283
|
"action": {
|
|
352
284
|
"enum": ["drag_and_drop"]
|
|
353
285
|
},
|
|
354
|
-
"
|
|
286
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
355
287
|
"object": {
|
|
356
288
|
"title": "Object",
|
|
357
289
|
"$ref": "#/definitions/noun"
|
|
@@ -364,31 +296,13 @@
|
|
|
364
296
|
"additionalProperties": false,
|
|
365
297
|
"required": ["action", "target", "object"]
|
|
366
298
|
},
|
|
367
|
-
"
|
|
368
|
-
"type": "object",
|
|
369
|
-
"title": "Click and Hold",
|
|
370
|
-
"description": "Clicks and holds the left mouse button over object for a number of seconds",
|
|
371
|
-
"properties": {
|
|
372
|
-
"action": {
|
|
373
|
-
"enum": ["click_and_hold"]
|
|
374
|
-
},
|
|
375
|
-
"custom_action_id": {"title": "Custom Action ID", "type": "integer"},
|
|
376
|
-
"target": {
|
|
377
|
-
"title": "Target",
|
|
378
|
-
"$ref": "#/definitions/noun"
|
|
379
|
-
},
|
|
380
|
-
"seconds": {"title": "Seconds", "type": "integer"}
|
|
381
|
-
},
|
|
382
|
-
"additionalProperties": false,
|
|
383
|
-
"required": ["action", "target", "seconds"]
|
|
384
|
-
},
|
|
385
|
-
"custom_action": {
|
|
299
|
+
"embedded_test": {
|
|
386
300
|
"type": "object",
|
|
387
|
-
"title": "
|
|
388
|
-
"description": "
|
|
301
|
+
"title": "Embedded Test",
|
|
302
|
+
"description": "Embeds a Test",
|
|
389
303
|
"properties": {
|
|
390
304
|
"action": {
|
|
391
|
-
"enum": ["
|
|
305
|
+
"enum": ["embedded_test"]
|
|
392
306
|
},
|
|
393
307
|
"test_id": {
|
|
394
308
|
"title": "Test ID",
|
|
@@ -398,81 +312,51 @@
|
|
|
398
312
|
"additionalProperties": false,
|
|
399
313
|
"required": ["action", "test_id"]
|
|
400
314
|
},
|
|
401
|
-
"
|
|
315
|
+
"tester_instruction": {
|
|
402
316
|
"type": "object",
|
|
403
|
-
"title": "
|
|
317
|
+
"title": "Tester Instruction",
|
|
404
318
|
"description": "Allows to fallback to english",
|
|
405
319
|
"properties": {
|
|
406
320
|
"action": {
|
|
407
|
-
"enum": ["
|
|
321
|
+
"enum": ["tester_instruction"]
|
|
408
322
|
},
|
|
409
|
-
"
|
|
323
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
410
324
|
"instruction": {"title": "Instruction", "type": "string"}
|
|
411
325
|
},
|
|
412
326
|
"additionalProperties": false,
|
|
413
327
|
"required": ["action", "instruction"]
|
|
414
328
|
},
|
|
415
|
-
"
|
|
329
|
+
"observe": {
|
|
416
330
|
"type": "object",
|
|
417
|
-
"title": "
|
|
418
|
-
"description": "Checks if element of the UI is visible",
|
|
331
|
+
"title": "Observe",
|
|
332
|
+
"description": "Checks if element of the UI is visible or not",
|
|
419
333
|
"properties": {
|
|
420
334
|
"assertion": {
|
|
421
|
-
"enum": ["
|
|
335
|
+
"enum": ["observe"]
|
|
422
336
|
},
|
|
423
|
-
"
|
|
337
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
424
338
|
"object": {
|
|
425
339
|
"title": "Object",
|
|
426
340
|
"$ref": "#/definitions/noun"
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
"additionalProperties": false,
|
|
430
|
-
"required": ["assertion", "object"]
|
|
431
|
-
},
|
|
432
|
-
"disappear": {
|
|
433
|
-
"type": "object",
|
|
434
|
-
"title": "Disappear",
|
|
435
|
-
"description": "Checks if element of the UI is no longer visible",
|
|
436
|
-
"properties": {
|
|
437
|
-
"assertion": {
|
|
438
|
-
"enum": ["disappear"]
|
|
439
341
|
},
|
|
440
|
-
"
|
|
441
|
-
"object": {
|
|
442
|
-
"title": "Object",
|
|
443
|
-
"$ref": "#/definitions/noun"
|
|
444
|
-
}
|
|
342
|
+
"visiblity": {"title": "Is the element visible?", "type": "boolean"}
|
|
445
343
|
},
|
|
446
344
|
"additionalProperties": false,
|
|
447
345
|
"required": ["assertion", "object"]
|
|
448
346
|
},
|
|
449
|
-
"
|
|
347
|
+
"tester_confirmation": {
|
|
450
348
|
"type": "object",
|
|
451
|
-
"title": "
|
|
452
|
-
"description": "Checks if specified page has loaded",
|
|
453
|
-
"properties": {
|
|
454
|
-
"assertion": {
|
|
455
|
-
"enum": ["loaded"]
|
|
456
|
-
},
|
|
457
|
-
"custom_action_id": {"title": "Custom Action ID", "type": "integer"},
|
|
458
|
-
"page": {"title": "Page", "type": "string"}
|
|
459
|
-
},
|
|
460
|
-
"additionalProperties": false,
|
|
461
|
-
"required": ["assertion", "page"]
|
|
462
|
-
},
|
|
463
|
-
"plain_language_assertion": {
|
|
464
|
-
"type": "object",
|
|
465
|
-
"title": "Plain Language Assertion",
|
|
349
|
+
"title": "Tester Confirmation",
|
|
466
350
|
"description": "Allows to fallback to english",
|
|
467
351
|
"properties": {
|
|
468
352
|
"assertion": {
|
|
469
|
-
"enum": ["
|
|
353
|
+
"enum": ["tester_confirmation"]
|
|
470
354
|
},
|
|
471
|
-
"
|
|
472
|
-
"
|
|
355
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
356
|
+
"confirmation": {"title": "confirmation", "type": "string"}
|
|
473
357
|
},
|
|
474
358
|
"additionalProperties": false,
|
|
475
|
-
"required": ["assertion", "
|
|
359
|
+
"required": ["assertion", "confirmation"]
|
|
476
360
|
}
|
|
477
361
|
},
|
|
478
362
|
"type": "object",
|