testaro 13.0.2 → 14.1.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.
Files changed (100) hide show
  1. package/README.md +190 -94
  2. package/actSpecs.js +17 -158
  3. package/package.json +1 -1
  4. package/run.js +31 -31
  5. package/standardize.js +338 -0
  6. package/{tests → testaro}/allHidden.js +36 -1
  7. package/{tests → testaro}/attVal.js +36 -2
  8. package/{tests → testaro}/autocomplete.js +34 -1
  9. package/{tests → testaro}/bulk.js +15 -1
  10. package/{tests → testaro}/docType.js +15 -1
  11. package/{tests → testaro}/dupAtt.js +34 -1
  12. package/{tests → testaro}/elements.js +9 -3
  13. package/testaro/embAc.js +78 -0
  14. package/{tests → testaro}/filter.js +35 -1
  15. package/{tests → testaro}/focAll.js +20 -3
  16. package/{tests → testaro}/focInd.js +45 -3
  17. package/{tests → testaro}/focOp.js +61 -2
  18. package/{tests → testaro}/focVis.js +35 -1
  19. package/{tests → testaro}/hover.js +67 -5
  20. package/{tests → testaro}/labClash.js +54 -4
  21. package/{tests → testaro}/linkTo.js +33 -1
  22. package/{tests → testaro}/linkUl.js +43 -5
  23. package/{tests → testaro}/menuNav.js +42 -1
  24. package/{tests → testaro}/miniText.js +32 -1
  25. package/{tests → testaro}/motion.js +27 -4
  26. package/{tests → testaro}/nonTable.js +32 -1
  27. package/{tests → testaro}/radioSet.js +33 -2
  28. package/{tests → testaro}/role.js +38 -1
  29. package/{tests → testaro}/styleDiff.js +43 -2
  30. package/{tests → testaro}/tabNav.js +42 -1
  31. package/{tests → testaro}/textNodes.js +6 -2
  32. package/{tests → testaro}/title.js +8 -4
  33. package/{tests → testaro}/titledEl.js +32 -1
  34. package/{tests → testaro}/zIndex.js +40 -2
  35. package/tests/alfa.js +72 -75
  36. package/tests/continuum.js +6 -2
  37. package/tests/ibm.js +14 -42
  38. package/tests/testaro.js +73 -0
  39. package/validation/tests/jobs/allHidden.json +877 -174
  40. package/validation/tests/jobs/attVal.json +57 -19
  41. package/validation/tests/jobs/autocomplete.json +34 -8
  42. package/validation/tests/jobs/bulk.json +33 -7
  43. package/validation/tests/jobs/docType.json +23 -5
  44. package/validation/tests/jobs/dupAtt.json +47 -8
  45. package/validation/tests/jobs/elements.json +231 -70
  46. package/validation/tests/jobs/embAc.json +70 -15
  47. package/validation/tests/jobs/filter.json +56 -12
  48. package/validation/tests/jobs/focAll.json +64 -16
  49. package/validation/tests/jobs/focInd.json +107 -23
  50. package/validation/tests/jobs/focOp.json +93 -21
  51. package/validation/tests/jobs/focVis.json +16 -4
  52. package/validation/tests/jobs/hover.json +246 -56
  53. package/validation/tests/jobs/labClash.json +43 -11
  54. package/validation/tests/jobs/linkTo.json +16 -4
  55. package/validation/tests/jobs/linkUl.json +79 -19
  56. package/validation/tests/jobs/menuNav.json +313 -65
  57. package/validation/tests/jobs/miniText.json +21 -5
  58. package/validation/tests/jobs/motion.json +81 -23
  59. package/validation/tests/jobs/nonTable.json +26 -6
  60. package/validation/tests/jobs/radioSet.json +43 -11
  61. package/validation/tests/jobs/role.json +93 -19
  62. package/validation/tests/jobs/styleDiff.json +124 -28
  63. package/validation/tests/jobs/tabNav.json +313 -65
  64. package/validation/tests/jobs/textNodes.json +190 -49
  65. package/validation/tests/jobs/title.json +23 -5
  66. package/validation/tests/jobs/titledEl.json +26 -6
  67. package/validation/tests/jobs/zIndex.json +28 -8
  68. package/validation/tests/old/allHidden.json +314 -0
  69. package/validation/tests/old/attVal.json +60 -0
  70. package/validation/tests/old/autocomplete.json +51 -0
  71. package/validation/tests/old/bulk.json +48 -0
  72. package/validation/tests/old/docType.json +46 -0
  73. package/validation/tests/old/dupAtt.json +51 -0
  74. package/validation/tests/old/elements.json +140 -0
  75. package/validation/tests/old/embAc.json +54 -0
  76. package/validation/tests/old/filter.json +55 -0
  77. package/validation/tests/old/focAll.json +68 -0
  78. package/validation/tests/old/focInd.json +69 -0
  79. package/validation/tests/old/focOp.json +62 -0
  80. package/validation/tests/old/focVis.json +35 -0
  81. package/validation/tests/old/hover.json +118 -0
  82. package/validation/tests/old/labClash.json +52 -0
  83. package/validation/tests/old/linkTo.json +35 -0
  84. package/validation/tests/old/linkUl.json +71 -0
  85. package/validation/tests/old/menuNav.json +106 -0
  86. package/validation/tests/old/miniText.json +36 -0
  87. package/validation/tests/old/motion.json +62 -0
  88. package/validation/tests/old/nonTable.json +37 -0
  89. package/validation/tests/old/radioSet.json +52 -0
  90. package/validation/tests/old/role.json +60 -0
  91. package/validation/tests/old/styleDiff.json +71 -0
  92. package/validation/tests/old/tabNav.json +106 -0
  93. package/validation/tests/old/temp.js +28 -0
  94. package/validation/tests/old/textNodes.json +98 -0
  95. package/validation/tests/old/title.json +46 -0
  96. package/validation/tests/old/titledEl.json +37 -0
  97. package/validation/tests/old/zIndex.json +49 -0
  98. package/validation/tests/targets/attVal/good.html +1 -1
  99. package/validation/tests/targets/elements/index.html +1 -0
  100. package/tests/embAc.js +0 -36
@@ -16,10 +16,19 @@
16
16
  },
17
17
  {
18
18
  "type": "test",
19
- "which": "title",
19
+ "which": "testaro",
20
20
  "what": "document title",
21
21
  "expect": [
22
- ["title", "=", "Test page"]
22
+ [
23
+ "result.rules.title.data.title",
24
+ "=",
25
+ "Test page"
26
+ ]
27
+ ],
28
+ "withItems": true,
29
+ "rules": [
30
+ "y",
31
+ "title"
23
32
  ]
24
33
  },
25
34
  {
@@ -29,10 +38,19 @@
29
38
  },
30
39
  {
31
40
  "type": "test",
32
- "which": "title",
41
+ "which": "testaro",
33
42
  "what": "document title",
34
43
  "expect": [
35
- ["title", "=", ""]
44
+ [
45
+ "result.rules.title.data.title",
46
+ "=",
47
+ ""
48
+ ]
49
+ ],
50
+ "withItems": true,
51
+ "rules": [
52
+ "y",
53
+ "title"
36
54
  ]
37
55
  }
38
56
  ],
@@ -41,6 +59,6 @@
41
59
  "host": {},
42
60
  "requester": ""
43
61
  },
44
- "creationTime": "2002-11-12T09:31:00",
62
+ "creationTime": "2013-05-28T12:00:00",
45
63
  "timeStamp": "00000"
46
64
  }
@@ -16,14 +16,34 @@
16
16
  },
17
17
  {
18
18
  "type": "test",
19
- "which": "titledEl",
19
+ "which": "testaro",
20
20
  "what": "title attributes on inappropriate elements",
21
21
  "withItems": true,
22
22
  "expect": [
23
- ["total", "=", 1],
24
- ["items.0.tagName", "=", "P"],
25
- ["items.0.text", "=", "This paragraph has an invalid title element."],
26
- ["items.0.title", "=", "invalid title"]
23
+ [
24
+ "result.rules.titledEl.data.total",
25
+ "=",
26
+ 1
27
+ ],
28
+ [
29
+ "result.rules.titledEl.data.items.0.tagName",
30
+ "=",
31
+ "P"
32
+ ],
33
+ [
34
+ "result.rules.titledEl.data.items.0.text",
35
+ "=",
36
+ "This paragraph has an invalid title element."
37
+ ],
38
+ [
39
+ "result.rules.titledEl.data.items.0.title",
40
+ "=",
41
+ "invalid title"
42
+ ]
43
+ ],
44
+ "rules": [
45
+ "y",
46
+ "titledEl"
27
47
  ]
28
48
  }
29
49
  ],
@@ -32,6 +52,6 @@
32
52
  "host": {},
33
53
  "requester": ""
34
54
  },
35
- "creationTime": "2002-11-12T09:31:00",
55
+ "creationTime": "2013-05-28T12:00:00",
36
56
  "timeStamp": "00000"
37
57
  }
@@ -16,11 +16,19 @@
16
16
  },
17
17
  {
18
18
  "type": "test",
19
- "which": "zIndex",
19
+ "which": "testaro",
20
20
  "what": "zIndex",
21
- "withItems": false,
21
+ "withItems": true,
22
22
  "expect": [
23
- ["totals.total", "=", 0]
23
+ [
24
+ "result.rules.zIndex.data.totals.total",
25
+ "=",
26
+ 0
27
+ ]
28
+ ],
29
+ "rules": [
30
+ "y",
31
+ "zIndex"
24
32
  ]
25
33
  },
26
34
  {
@@ -30,12 +38,24 @@
30
38
  },
31
39
  {
32
40
  "type": "test",
33
- "which": "zIndex",
41
+ "which": "testaro",
34
42
  "what": "zIndex",
35
- "withItems": false,
43
+ "withItems": true,
36
44
  "expect": [
37
- ["totals.total", "=", 2],
38
- ["totals.tagNames.BUTTON", "=", 2]
45
+ [
46
+ "result.rules.zIndex.data.totals.total",
47
+ "=",
48
+ 2
49
+ ],
50
+ [
51
+ "result.rules.zIndex.data.totals.tagNames.BUTTON",
52
+ "=",
53
+ 2
54
+ ]
55
+ ],
56
+ "rules": [
57
+ "y",
58
+ "zIndex"
39
59
  ]
40
60
  }
41
61
  ],
@@ -44,6 +64,6 @@
44
64
  "host": {},
45
65
  "requester": ""
46
66
  },
47
- "creationTime": "2002-11-12T09:31:00",
67
+ "creationTime": "2013-05-28T12:00:00",
48
68
  "timeStamp": "00000"
49
69
  }
@@ -0,0 +1,314 @@
1
+ {
2
+ "id": "allHidden",
3
+ "what": "validation of allHidden test",
4
+ "strict": true,
5
+ "timeLimit": 20,
6
+ "acts": [
7
+ {
8
+ "type": "launch",
9
+ "which": "chromium",
10
+ "what": "usual browser"
11
+ },
12
+ {
13
+ "type": "url",
14
+ "which": "__targets__/allHidden/good.html",
15
+ "what": "page with nothing hidden"
16
+ },
17
+ {
18
+ "type": "test",
19
+ "which": "allHidden",
20
+ "what": "entirely or mainly hidden page",
21
+ "expect": [
22
+ ["hidden.document", "=", false],
23
+ ["hidden.body", "=", false],
24
+ ["hidden.main", "=", false],
25
+ ["reallyHidden.document", "=", false],
26
+ ["reallyHidden.body", "=", false],
27
+ ["reallyHidden.main", "=", false],
28
+ ["display.document", "=", "block"],
29
+ ["display.body", "=", "block"],
30
+ ["display.main", "=", "block"],
31
+ ["visHidden.document", "=", false],
32
+ ["visHidden.body", "=", false],
33
+ ["visHidden.main", "=", false],
34
+ ["ariaHidden.document", "=", false],
35
+ ["ariaHidden.body", "=", false],
36
+ ["ariaHidden.main", "=", false]
37
+ ]
38
+ },
39
+ {
40
+ "type": "url",
41
+ "which": "__targets__/allHidden/noBody.html",
42
+ "what": "page with no body"
43
+ },
44
+ {
45
+ "type": "test",
46
+ "which": "allHidden",
47
+ "what": "entirely or mainly hidden page",
48
+ "expect": [
49
+ ["hidden.document", "=", false],
50
+ ["hidden.body", "=", false],
51
+ ["hidden.main", "=", false],
52
+ ["reallyHidden.document", "=", false],
53
+ ["reallyHidden.body", "=", false],
54
+ ["reallyHidden.main", "=", false],
55
+ ["display.document", "=", "block"],
56
+ ["visHidden.document", "=", false],
57
+ ["visHidden.body", "=", false],
58
+ ["visHidden.main", "=", false],
59
+ ["ariaHidden.document", "=", false],
60
+ ["ariaHidden.body", "=", false],
61
+ ["ariaHidden.main", "=", false]
62
+ ]
63
+ },
64
+ {
65
+ "type": "url",
66
+ "which": "__targets__/allHidden/noMain.html",
67
+ "what": "page with no main landmark"
68
+ },
69
+ {
70
+ "type": "test",
71
+ "which": "allHidden",
72
+ "what": "entirely or mainly hidden page",
73
+ "expect": [
74
+ ["hidden.document", "=", false],
75
+ ["hidden.body", "=", false],
76
+ ["hidden.main", "=", false],
77
+ ["reallyHidden.document", "=", false],
78
+ ["reallyHidden.body", "=", false],
79
+ ["reallyHidden.main", "=", false],
80
+ ["display.document", "=", "block"],
81
+ ["display.body", "=", "block"],
82
+ ["visHidden.document", "=", false],
83
+ ["visHidden.body", "=", false],
84
+ ["visHidden.main", "=", false],
85
+ ["ariaHidden.document", "=", false],
86
+ ["ariaHidden.body", "=", false],
87
+ ["ariaHidden.main", "=", false]
88
+ ]
89
+ },
90
+ {
91
+ "type": "url",
92
+ "which": "__targets__/allHidden/hiddenMain.html",
93
+ "what": "page with a hidden main landmark"
94
+ },
95
+ {
96
+ "type": "test",
97
+ "which": "allHidden",
98
+ "what": "entirely or mainly hidden page",
99
+ "expect": [
100
+ ["hidden.document", "=", false],
101
+ ["hidden.body", "=", false],
102
+ ["hidden.main", "=", true],
103
+ ["reallyHidden.document", "=", false],
104
+ ["reallyHidden.body", "=", false],
105
+ ["reallyHidden.main", "=", true],
106
+ ["display.document", "=", "block"],
107
+ ["display.body", "=", "block"],
108
+ ["display.main", "=", "none"],
109
+ ["visHidden.document", "=", false],
110
+ ["visHidden.body", "=", false],
111
+ ["visHidden.main", "=", false],
112
+ ["ariaHidden.document", "=", false],
113
+ ["ariaHidden.body", "=", false],
114
+ ["ariaHidden.main", "=", false]
115
+ ]
116
+ },
117
+ {
118
+ "type": "url",
119
+ "which": "__targets__/allHidden/visHiddenMain.html",
120
+ "what": "page with a visually hidden main landmark"
121
+ },
122
+ {
123
+ "type": "test",
124
+ "which": "allHidden",
125
+ "what": "entirely or mainly hidden page",
126
+ "expect": [
127
+ ["hidden.document", "=", false],
128
+ ["hidden.body", "=", false],
129
+ ["hidden.main", "=", false],
130
+ ["reallyHidden.document", "=", false],
131
+ ["reallyHidden.body", "=", false],
132
+ ["reallyHidden.main", "=", false],
133
+ ["display.document", "=", "block"],
134
+ ["display.body", "=", "block"],
135
+ ["display.main", "=", "block"],
136
+ ["visHidden.document", "=", false],
137
+ ["visHidden.body", "=", false],
138
+ ["visHidden.main", "=", true],
139
+ ["ariaHidden.document", "=", false],
140
+ ["ariaHidden.body", "=", false],
141
+ ["ariaHidden.main", "=", false]
142
+ ]
143
+ },
144
+ {
145
+ "type": "url",
146
+ "which": "__targets__/allHidden/ariaHiddenMain.html",
147
+ "what": "page with an ARIA-hidden main landmark"
148
+ },
149
+ {
150
+ "type": "test",
151
+ "which": "allHidden",
152
+ "what": "entirely or mainly hidden page",
153
+ "expect": [
154
+ ["hidden.document", "=", false],
155
+ ["hidden.body", "=", false],
156
+ ["hidden.main", "=", false],
157
+ ["reallyHidden.document", "=", false],
158
+ ["reallyHidden.body", "=", false],
159
+ ["reallyHidden.main", "=", false],
160
+ ["display.document", "=", "block"],
161
+ ["display.body", "=", "block"],
162
+ ["display.main", "=", "block"],
163
+ ["visHidden.document", "=", false],
164
+ ["visHidden.body", "=", false],
165
+ ["visHidden.main", "=", false],
166
+ ["ariaHidden.document", "=", false],
167
+ ["ariaHidden.body", "=", false],
168
+ ["ariaHidden.main", "=", true]
169
+ ]
170
+ },
171
+ {
172
+ "type": "url",
173
+ "which": "__targets__/allHidden/mixedHidden0.html",
174
+ "what": "page with mixed hidden states"
175
+ },
176
+ {
177
+ "type": "test",
178
+ "which": "allHidden",
179
+ "what": "entirely or mainly hidden page",
180
+ "expect": [
181
+ ["hidden.document", "=", false],
182
+ ["hidden.body", "=", false],
183
+ ["hidden.main", "=", true],
184
+ ["reallyHidden.document", "=", false],
185
+ ["reallyHidden.body", "=", false],
186
+ ["reallyHidden.main", "=", true],
187
+ ["display.document", "=", "block"],
188
+ ["display.body", "=", "block"],
189
+ ["display.main", "=", "none"],
190
+ ["visHidden.document", "=", false],
191
+ ["visHidden.body", "=", true],
192
+ ["visHidden.main", "=", true],
193
+ ["ariaHidden.document", "=", true],
194
+ ["ariaHidden.body", "=", false],
195
+ ["ariaHidden.main", "=", false]
196
+ ]
197
+ },
198
+ {
199
+ "type": "url",
200
+ "which": "__targets__/allHidden/mixedHidden1.html",
201
+ "what": "page with mixed hidden states"
202
+ },
203
+ {
204
+ "type": "test",
205
+ "which": "allHidden",
206
+ "what": "entirely or mainly hidden page",
207
+ "expect": [
208
+ ["hidden.document", "=", true],
209
+ ["hidden.body", "=", false],
210
+ ["hidden.main", "=", false],
211
+ ["reallyHidden.document", "=", true],
212
+ ["reallyHidden.body", "=", false],
213
+ ["reallyHidden.main", "=", false],
214
+ ["display.document", "=", "none"],
215
+ ["display.body", "=", "block"],
216
+ ["display.main", "=", "block"],
217
+ ["visHidden.document", "=", false],
218
+ ["visHidden.body", "=", true],
219
+ ["visHidden.main", "=", true],
220
+ ["ariaHidden.document", "=", false],
221
+ ["ariaHidden.body", "=", false],
222
+ ["ariaHidden.main", "=", true]
223
+ ]
224
+ },
225
+ {
226
+ "type": "url",
227
+ "which": "__targets__/allHidden/semiHidden.html",
228
+ "what": "page with mixed hidden states"
229
+ },
230
+ {
231
+ "type": "test",
232
+ "which": "allHidden",
233
+ "what": "entirely or mainly hidden page",
234
+ "expect": [
235
+ ["hidden.document", "=", false],
236
+ ["hidden.body", "=", false],
237
+ ["hidden.main", "=", true],
238
+ ["reallyHidden.document", "=", false],
239
+ ["reallyHidden.body", "=", false],
240
+ ["reallyHidden.main", "=", false],
241
+ ["display.document", "=", "block"],
242
+ ["display.body", "=", "block"],
243
+ ["display.main", "=", "block"],
244
+ ["visHidden.document", "=", false],
245
+ ["visHidden.body", "=", false],
246
+ ["visHidden.main", "=", false],
247
+ ["ariaHidden.document", "=", false],
248
+ ["ariaHidden.body", "=", false],
249
+ ["ariaHidden.main", "=", false]
250
+ ]
251
+ },
252
+ {
253
+ "type": "url",
254
+ "which": "__targets__/allHidden/noneDoc.html",
255
+ "what": "page with mixed hidden states"
256
+ },
257
+ {
258
+ "type": "test",
259
+ "which": "allHidden",
260
+ "what": "entirely or mainly hidden page",
261
+ "expect": [
262
+ ["hidden.document", "=", false],
263
+ ["hidden.body", "=", false],
264
+ ["hidden.main", "=", false],
265
+ ["reallyHidden.document", "=", false],
266
+ ["reallyHidden.body", "=", false],
267
+ ["reallyHidden.main", "=", false],
268
+ ["display.document", "=", "none"],
269
+ ["display.body", "=", "block"],
270
+ ["display.main", "=", "block"],
271
+ ["visHidden.document", "=", false],
272
+ ["visHidden.body", "=", false],
273
+ ["visHidden.main", "=", false],
274
+ ["ariaHidden.document", "=", false],
275
+ ["ariaHidden.body", "=", false],
276
+ ["ariaHidden.main", "=", false]
277
+ ]
278
+ },
279
+ {
280
+ "type": "url",
281
+ "which": "__targets__/allHidden/noneMain.html",
282
+ "what": "page with mixed hidden states"
283
+ },
284
+ {
285
+ "type": "test",
286
+ "which": "allHidden",
287
+ "what": "entirely or mainly hidden page",
288
+ "expect": [
289
+ ["hidden.document", "=", false],
290
+ ["hidden.body", "=", false],
291
+ ["hidden.main", "=", false],
292
+ ["reallyHidden.document", "=", false],
293
+ ["reallyHidden.body", "=", false],
294
+ ["reallyHidden.main", "=", false],
295
+ ["display.document", "=", "block"],
296
+ ["display.body", "=", "block"],
297
+ ["display.main", "=", "none"],
298
+ ["visHidden.document", "=", false],
299
+ ["visHidden.body", "=", false],
300
+ ["visHidden.main", "=", false],
301
+ ["ariaHidden.document", "=", false],
302
+ ["ariaHidden.body", "=", false],
303
+ ["ariaHidden.main", "=", false]
304
+ ]
305
+ }
306
+ ],
307
+ "sources": {
308
+ "script": "",
309
+ "host": {},
310
+ "requester": ""
311
+ },
312
+ "creationTime": "2002-11-12T09:31:00",
313
+ "timeStamp": "00000"
314
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "id": "attVal",
3
+ "what": "validation of attVal test",
4
+ "strict": true,
5
+ "timeLimit": 20,
6
+ "acts": [
7
+ {
8
+ "type": "launch",
9
+ "which": "chromium",
10
+ "what": "usual browser"
11
+ },
12
+ {
13
+ "type": "url",
14
+ "which": "__targets__/attVal/good.html",
15
+ "what": "page with permitted attribute values"
16
+ },
17
+ {
18
+ "type": "test",
19
+ "which": "attVal",
20
+ "attributeName": "lang",
21
+ "areLicit": true,
22
+ "values": ["en-US", "de-CH"],
23
+ "what": "attribute values",
24
+ "withItems": true,
25
+ "expect": [
26
+ ["total", "=", 0],
27
+ ["items.1"]
28
+ ]
29
+ },
30
+ {
31
+ "type": "url",
32
+ "which": "__targets__/attVal/bad.html",
33
+ "what": "page with permitted attribute values"
34
+ },
35
+ {
36
+ "type": "test",
37
+ "which": "attVal",
38
+ "attributeName": "lang",
39
+ "areLicit": false,
40
+ "values": ["en", "de"],
41
+ "what": "attribute values",
42
+ "withItems": true,
43
+ "expect": [
44
+ ["total", "=", 2],
45
+ ["items.0.tagName", "=", "HTML"],
46
+ ["items.0.attributeValue", "=", "en"],
47
+ ["items.1.tagName", "=", "SPAN"],
48
+ ["items.1.attributeValue", "=", "de"],
49
+ ["items.1.textStart", "i", "Veloparkieren"]
50
+ ]
51
+ }
52
+ ],
53
+ "sources": {
54
+ "script": "",
55
+ "host": {},
56
+ "requester": ""
57
+ },
58
+ "creationTime": "2023-04-19T12:34:00",
59
+ "timeStamp": "00000"
60
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "id": "autocomplete",
3
+ "what": "validation of autocomplete test",
4
+ "strict": true,
5
+ "timeLimit": 20,
6
+ "acts": [
7
+ {
8
+ "type": "launch",
9
+ "which": "chromium",
10
+ "what": "usual browser"
11
+ },
12
+ {
13
+ "type": "url",
14
+ "which": "__targets__/autocomplete/good.html",
15
+ "what": "page with correct autocomplete attributes"
16
+ },
17
+ {
18
+ "type": "test",
19
+ "which": "autocomplete",
20
+ "what": "autocomplete attributes for name and email",
21
+ "withItems": true,
22
+ "expect": [
23
+ ["total", "=", 0],
24
+ ["items.1"]
25
+ ]
26
+ },
27
+ {
28
+ "type": "url",
29
+ "which": "__targets__/autocomplete/bad.html",
30
+ "what": "page with incorrect autocomplete attributes"
31
+ },
32
+ {
33
+ "type": "test",
34
+ "which": "autocomplete",
35
+ "what": "autocomplete attributes for name and email",
36
+ "withItems": true,
37
+ "expect": [
38
+ ["total", "=", 4],
39
+ ["items.1.0", "=", "family-name"],
40
+ ["items.2.1", "=", "Your email address"]
41
+ ]
42
+ }
43
+ ],
44
+ "sources": {
45
+ "script": "",
46
+ "host": {},
47
+ "requester": ""
48
+ },
49
+ "creationTime": "2023-04-16T21:06:00",
50
+ "timeStamp": "00000"
51
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "id": "bulk",
3
+ "what": "validation of bulk test",
4
+ "strict": true,
5
+ "timeLimit": 20,
6
+ "acts": [
7
+ {
8
+ "type": "launch",
9
+ "which": "chromium",
10
+ "what": "usual browser"
11
+ },
12
+ {
13
+ "type": "url",
14
+ "which": "__targets__/bulk/good.html",
15
+ "what": "small page"
16
+ },
17
+ {
18
+ "type": "test",
19
+ "which": "bulk",
20
+ "what": "visible element count",
21
+ "expect": [
22
+ ["visibleElements", ">", 1],
23
+ ["visibleElements", "<", 5]
24
+ ]
25
+ },
26
+ {
27
+ "type": "url",
28
+ "which": "__targets__/bulk/bad.html",
29
+ "what": "large page"
30
+ },
31
+ {
32
+ "type": "test",
33
+ "which": "bulk",
34
+ "what": "visible element count",
35
+ "expect": [
36
+ ["visibleElements", ">", 30],
37
+ ["visibleElements", "<", 40]
38
+ ]
39
+ }
40
+ ],
41
+ "sources": {
42
+ "script": "",
43
+ "host": {},
44
+ "requester": ""
45
+ },
46
+ "creationTime": "2002-11-12T09:31:00",
47
+ "timeStamp": "00000"
48
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "id": "docType",
3
+ "what": "validation of docType test",
4
+ "strict": true,
5
+ "timeLimit": 20,
6
+ "acts": [
7
+ {
8
+ "type": "launch",
9
+ "which": "chromium",
10
+ "what": "usual browser"
11
+ },
12
+ {
13
+ "type": "url",
14
+ "which": "__targets__/docType/good.html",
15
+ "what": "page with doctype"
16
+ },
17
+ {
18
+ "type": "test",
19
+ "which": "docType",
20
+ "what": "doctype",
21
+ "expect": [
22
+ ["docHasType", "=", true]
23
+ ]
24
+ },
25
+ {
26
+ "type": "url",
27
+ "which": "__targets__/docType/bad.html",
28
+ "what": "page without doctype"
29
+ },
30
+ {
31
+ "type": "test",
32
+ "which": "docType",
33
+ "what": "doctype",
34
+ "expect": [
35
+ ["docHasType", "=", false]
36
+ ]
37
+ }
38
+ ],
39
+ "sources": {
40
+ "script": "",
41
+ "host": {},
42
+ "requester": ""
43
+ },
44
+ "creationTime": "2002-11-12T09:31:00",
45
+ "timeStamp": "00000"
46
+ }