wisp-schema 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wisp-schema.rb +1 -1
- data/wisp.json +35 -35
- 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: adcaec83a1203edeac6bf6434c024d405070c8bb4affcc511788425bbd469d04
|
4
|
+
data.tar.gz: 4eb82061b0c3202f277cc3e0e416e934dcbf8e9423593cb9f88b206afb8cf8bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aa67ca0bd6c4138e19393cd944cce891a3e116b8984897a898d5ae8fbe69f11f73c1ee444f234e95290fca986131440e68515c0826adb8407a70828af1f7cee
|
7
|
+
data.tar.gz: cc6f5696a0b2763a9f2f402e805dc43d892ffe135355671887595986d3f892c9f68d1b60681b361f24f47b4965ea50f7ad0fc9db2c35a4ba4c7ec978d78eec5c
|
data/lib/wisp-schema.rb
CHANGED
data/wisp.json
CHANGED
@@ -24,19 +24,19 @@
|
|
24
24
|
"description": "Button",
|
25
25
|
"properties": {
|
26
26
|
"type": {
|
27
|
-
"enum": ["
|
27
|
+
"enum": ["button"]
|
28
28
|
},
|
29
29
|
"label": {"title": "Label", "type": "string"}
|
30
30
|
},
|
31
31
|
"required": ["type", "label"]
|
32
32
|
},
|
33
|
-
"
|
33
|
+
"text_field": {
|
34
34
|
"type": "object",
|
35
35
|
"title": "Field",
|
36
36
|
"description": "Text Field",
|
37
37
|
"properties": {
|
38
38
|
"type": {
|
39
|
-
"enum": ["
|
39
|
+
"enum": ["text_field"]
|
40
40
|
},
|
41
41
|
"label": {"title": "Label", "type": "string"}
|
42
42
|
},
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"description": "Dropdown",
|
49
49
|
"properties": {
|
50
50
|
"type": {
|
51
|
-
"enum": ["
|
51
|
+
"enum": ["dropdown"]
|
52
52
|
},
|
53
53
|
"label": {"title": "Label", "type": "string"}
|
54
54
|
},
|
@@ -60,7 +60,7 @@
|
|
60
60
|
"description": "Option in open dropdown",
|
61
61
|
"properties": {
|
62
62
|
"type": {
|
63
|
-
"enum": ["
|
63
|
+
"enum": ["dropdown_option"]
|
64
64
|
},
|
65
65
|
"label": {"title": "Label", "type": "string"}
|
66
66
|
},
|
@@ -72,7 +72,7 @@
|
|
72
72
|
"description": "Link",
|
73
73
|
"properties": {
|
74
74
|
"type": {
|
75
|
-
"enum": ["
|
75
|
+
"enum": ["link"]
|
76
76
|
},
|
77
77
|
"text": {"title": "Text", "type": "string"}
|
78
78
|
},
|
@@ -84,7 +84,7 @@
|
|
84
84
|
"description": "Icon",
|
85
85
|
"properties": {
|
86
86
|
"type": {
|
87
|
-
"enum": ["
|
87
|
+
"enum": ["icon"]
|
88
88
|
},
|
89
89
|
"description": {"title": "Description", "type": "string"}
|
90
90
|
},
|
@@ -96,7 +96,7 @@
|
|
96
96
|
"description": "Checkbox",
|
97
97
|
"properties": {
|
98
98
|
"type": {
|
99
|
-
"enum": ["
|
99
|
+
"enum": ["checkbox"]
|
100
100
|
},
|
101
101
|
"label": {"title": "Label", "type": "string"}
|
102
102
|
},
|
@@ -108,7 +108,7 @@
|
|
108
108
|
"description": "Page Header",
|
109
109
|
"properties": {
|
110
110
|
"type": {
|
111
|
-
"enum": ["
|
111
|
+
"enum": ["header"]
|
112
112
|
},
|
113
113
|
"text": {"title": "Text", "type": "string"}
|
114
114
|
},
|
@@ -120,7 +120,7 @@
|
|
120
120
|
"description": "Any pop-up window",
|
121
121
|
"properties": {
|
122
122
|
"type": {
|
123
|
-
"enum": ["
|
123
|
+
"enum": ["window"]
|
124
124
|
},
|
125
125
|
"description": {"title": "Description", "type": "string"}
|
126
126
|
},
|
@@ -132,7 +132,7 @@
|
|
132
132
|
"description": "In page modal",
|
133
133
|
"properties": {
|
134
134
|
"type": {
|
135
|
-
"enum": ["
|
135
|
+
"enum": ["modal"]
|
136
136
|
},
|
137
137
|
"description": {"title": "Description", "type": "string"}
|
138
138
|
},
|
@@ -144,7 +144,7 @@
|
|
144
144
|
"description": "Exactly matched text",
|
145
145
|
"properties": {
|
146
146
|
"type": {
|
147
|
-
"enum": ["
|
147
|
+
"enum": ["text"]
|
148
148
|
},
|
149
149
|
"text": {"title": "Text", "type": "string"}
|
150
150
|
},
|
@@ -156,7 +156,7 @@
|
|
156
156
|
"description": "Any other UI Element",
|
157
157
|
"properties": {
|
158
158
|
"type": {
|
159
|
-
"enum": ["
|
159
|
+
"enum": ["ui_element"]
|
160
160
|
},
|
161
161
|
"element": {"title": "Element", "type": "string"}
|
162
162
|
},
|
@@ -194,7 +194,7 @@
|
|
194
194
|
"description": "Clicks on the UI element",
|
195
195
|
"properties": {
|
196
196
|
"action": {
|
197
|
-
"enum": ["
|
197
|
+
"enum": ["click"]
|
198
198
|
},
|
199
199
|
"target": {
|
200
200
|
"title": "Target",
|
@@ -209,7 +209,7 @@
|
|
209
209
|
"description": "Fills the text field with specified content",
|
210
210
|
"properties": {
|
211
211
|
"action": {
|
212
|
-
"enum": ["
|
212
|
+
"enum": ["fill"]
|
213
213
|
},
|
214
214
|
"text": {"title": "Text", "type": "string"},
|
215
215
|
"target": {
|
@@ -225,7 +225,7 @@
|
|
225
225
|
"description": "Types in specified text",
|
226
226
|
"properties": {
|
227
227
|
"action": {
|
228
|
-
"enum": ["
|
228
|
+
"enum": ["type"]
|
229
229
|
},
|
230
230
|
"text": {"title": "Text", "type": "string"}
|
231
231
|
},
|
@@ -237,7 +237,7 @@
|
|
237
237
|
"description": "Sends key combination",
|
238
238
|
"properties": {
|
239
239
|
"action": {
|
240
|
-
"enum": ["
|
240
|
+
"enum": ["send_key"]
|
241
241
|
},
|
242
242
|
"modifier": {"title": "Modifier", "type": "string"},
|
243
243
|
"key": {"title": "Key", "type": "string"}
|
@@ -250,7 +250,7 @@
|
|
250
250
|
"description": "Hovers over specified element",
|
251
251
|
"properties": {
|
252
252
|
"action": {
|
253
|
-
"enum": ["
|
253
|
+
"enum": ["hover"]
|
254
254
|
},
|
255
255
|
"target": {
|
256
256
|
"title": "Target",
|
@@ -265,7 +265,7 @@
|
|
265
265
|
"description": "Selects specified item from the dropdown",
|
266
266
|
"properties": {
|
267
267
|
"action": {
|
268
|
-
"enum": ["
|
268
|
+
"enum": ["dropdown_select"]
|
269
269
|
},
|
270
270
|
"target": {
|
271
271
|
"title": "Target",
|
@@ -273,7 +273,7 @@
|
|
273
273
|
},
|
274
274
|
"option": {"title": "Option", "type": "string"}
|
275
275
|
},
|
276
|
-
"required": ["action", "target"]
|
276
|
+
"required": ["action", "target", "option"]
|
277
277
|
},
|
278
278
|
"checkbox_check": {
|
279
279
|
"type": "object",
|
@@ -281,7 +281,7 @@
|
|
281
281
|
"description": "Checks specified checkbox",
|
282
282
|
"properties": {
|
283
283
|
"action": {
|
284
|
-
"enum": ["
|
284
|
+
"enum": ["checkbox_check"]
|
285
285
|
},
|
286
286
|
"target": {
|
287
287
|
"title": "Target",
|
@@ -296,7 +296,7 @@
|
|
296
296
|
"description": "Unhecks specified checkbox",
|
297
297
|
"properties": {
|
298
298
|
"action": {
|
299
|
-
"enum": ["
|
299
|
+
"enum": ["checkbox_uncheck"]
|
300
300
|
},
|
301
301
|
"target": {
|
302
302
|
"title": "Target",
|
@@ -311,7 +311,7 @@
|
|
311
311
|
"description": "Refreshes the webpage",
|
312
312
|
"properties": {
|
313
313
|
"action": {
|
314
|
-
"enum": ["
|
314
|
+
"enum": ["refresh"]
|
315
315
|
}
|
316
316
|
},
|
317
317
|
"required": ["action"]
|
@@ -322,7 +322,7 @@
|
|
322
322
|
"description": "Navigates to specified URL",
|
323
323
|
"properties": {
|
324
324
|
"action": {
|
325
|
-
"enum": ["
|
325
|
+
"enum": ["navigate"]
|
326
326
|
},
|
327
327
|
"url": {"title": "URL", "type": "string"}
|
328
328
|
},
|
@@ -334,7 +334,7 @@
|
|
334
334
|
"description": "Navigates to specified URL in a new tab",
|
335
335
|
"properties": {
|
336
336
|
"action": {
|
337
|
-
"enum": ["
|
337
|
+
"enum": ["navigate_new_tab"]
|
338
338
|
},
|
339
339
|
"url": {"title": "URL", "type": "string"}
|
340
340
|
},
|
@@ -346,7 +346,7 @@
|
|
346
346
|
"description": "Navigates to specified URL in a new incognito tab",
|
347
347
|
"properties": {
|
348
348
|
"action": {
|
349
|
-
"enum": ["
|
349
|
+
"enum": ["navigate_incognito_tab"]
|
350
350
|
},
|
351
351
|
"url": {"title": "URL", "type": "string"}
|
352
352
|
},
|
@@ -358,7 +358,7 @@
|
|
358
358
|
"description": "Closes current browser tab",
|
359
359
|
"properties": {
|
360
360
|
"action": {
|
361
|
-
"enum": ["
|
361
|
+
"enum": ["close_tab"]
|
362
362
|
}
|
363
363
|
},
|
364
364
|
"required": ["action"]
|
@@ -369,7 +369,7 @@
|
|
369
369
|
"description": "Scrolls the page into specified direction until target is reached",
|
370
370
|
"properties": {
|
371
371
|
"action": {
|
372
|
-
"enum": ["
|
372
|
+
"enum": ["scroll"]
|
373
373
|
},
|
374
374
|
"target": {
|
375
375
|
"title": "Target",
|
@@ -385,7 +385,7 @@
|
|
385
385
|
"description": "Drag and drop",
|
386
386
|
"properties": {
|
387
387
|
"action": {
|
388
|
-
"enum": ["
|
388
|
+
"enum": ["drag_and_drop"]
|
389
389
|
},
|
390
390
|
"target": {
|
391
391
|
"title": "Target",
|
@@ -401,7 +401,7 @@
|
|
401
401
|
"description": "Clicks and holds mouse button over object",
|
402
402
|
"properties": {
|
403
403
|
"action": {
|
404
|
-
"enum": ["
|
404
|
+
"enum": ["click_and_hold"]
|
405
405
|
},
|
406
406
|
"target": {
|
407
407
|
"title": "Target",
|
@@ -417,7 +417,7 @@
|
|
417
417
|
"description": "Allows to fallback to english",
|
418
418
|
"properties": {
|
419
419
|
"action": {
|
420
|
-
"enum": ["
|
420
|
+
"enum": ["plain_language"]
|
421
421
|
},
|
422
422
|
"instruction": {"title": "Instruction", "type": "string"}
|
423
423
|
},
|
@@ -429,7 +429,7 @@
|
|
429
429
|
"description": "Checks if element of the UI is visible",
|
430
430
|
"properties": {
|
431
431
|
"assertion": {
|
432
|
-
"enum": ["
|
432
|
+
"enum": ["see"]
|
433
433
|
},
|
434
434
|
"object": {
|
435
435
|
"title": "Object",
|
@@ -444,7 +444,7 @@
|
|
444
444
|
"description": "Checks if element of the UI is no longer visible",
|
445
445
|
"properties": {
|
446
446
|
"assertion": {
|
447
|
-
"enum": ["
|
447
|
+
"enum": ["disappear"]
|
448
448
|
},
|
449
449
|
"object": {
|
450
450
|
"title": "Object",
|
@@ -459,7 +459,7 @@
|
|
459
459
|
"description": "Checks if specified page has loaded",
|
460
460
|
"properties": {
|
461
461
|
"assertion": {
|
462
|
-
"enum": ["
|
462
|
+
"enum": ["loaded"]
|
463
463
|
},
|
464
464
|
"page": {"title": "Page", "type": "string"}
|
465
465
|
},
|
@@ -471,7 +471,7 @@
|
|
471
471
|
"description": "Allows to fallback to english",
|
472
472
|
"properties": {
|
473
473
|
"assertion": {
|
474
|
-
"enum": ["
|
474
|
+
"enum": ["plain_language_assertion"]
|
475
475
|
},
|
476
476
|
"instruction": {"title": "Instruction", "type": "string"}
|
477
477
|
},
|