testaro 30.0.8 → 32.0.1

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 (212) hide show
  1. package/CONTRIBUTING.md +26 -4
  2. package/LICENSE +1 -1
  3. package/README.md +24 -2
  4. package/aceconfig.js +27 -0
  5. package/actSpecs.js +28 -1
  6. package/call.js +22 -1
  7. package/data/template.js +22 -0
  8. package/dirWatch.js +22 -0
  9. package/package.json +1 -1
  10. package/procs/aslint.js +24 -0
  11. package/procs/getLocatorData.js +29 -1
  12. package/procs/getSource.js +30 -3
  13. package/procs/isInlineLink.js +23 -0
  14. package/procs/operable.js +23 -2
  15. package/procs/sample.js +22 -0
  16. package/procs/standardize.js +28 -7
  17. package/procs/tellServer.js +24 -2
  18. package/procs/testaro.js +26 -1
  19. package/procs/visChange.js +22 -0
  20. package/run.js +373 -83
  21. package/testaro/allCaps.js +22 -0
  22. package/testaro/allHidden.js +22 -0
  23. package/testaro/allSlanted.js +22 -0
  24. package/testaro/attVal.js +22 -0
  25. package/testaro/autocomplete.js +22 -0
  26. package/testaro/bulk.js +22 -0
  27. package/testaro/buttonMenu.js +22 -0
  28. package/testaro/distortion.js +22 -0
  29. package/testaro/docType.js +22 -0
  30. package/testaro/dupAtt.js +22 -0
  31. package/testaro/elements.js +22 -0
  32. package/testaro/embAc.js +22 -0
  33. package/testaro/filter.js +22 -0
  34. package/testaro/focAll.js +22 -0
  35. package/testaro/focInd.js +22 -0
  36. package/testaro/focOp.js +22 -0
  37. package/testaro/focVis.js +22 -0
  38. package/testaro/headEl.js +22 -0
  39. package/testaro/headingAmb.js +22 -0
  40. package/testaro/hovInd.js +21 -24
  41. package/testaro/hover.js +22 -0
  42. package/testaro/labClash.js +22 -0
  43. package/testaro/lineHeight.js +22 -0
  44. package/testaro/linkAmb.js +22 -0
  45. package/testaro/linkTitle.js +22 -0
  46. package/testaro/linkUl.js +22 -0
  47. package/testaro/miniText.js +22 -0
  48. package/testaro/motion.js +22 -0
  49. package/testaro/nonTable.js +22 -0
  50. package/testaro/opFoc.js +22 -0
  51. package/testaro/pseudoP.js +25 -3
  52. package/testaro/radioSet.js +22 -0
  53. package/testaro/role.js +22 -0
  54. package/testaro/styleDiff.js +80 -1
  55. package/testaro/tabNav.js +99 -2
  56. package/testaro/targetSize.js +22 -0
  57. package/testaro/textNodes.js +25 -3
  58. package/testaro/title.js +22 -0
  59. package/testaro/zIndex.js +22 -0
  60. package/tests/alfa.js +34 -12
  61. package/tests/aslint.js +55 -17
  62. package/tests/axe.js +35 -9
  63. package/tests/htmlcs.js +109 -78
  64. package/tests/ibm.js +111 -45
  65. package/tests/nuVal.js +39 -9
  66. package/tests/qualWeb.js +49 -25
  67. package/tests/testaro.js +50 -22
  68. package/tests/wave.js +36 -10
  69. package/validation/executors/run.js +26 -2
  70. package/validation/executors/test.js +27 -3
  71. package/validation/executors/tests.js +26 -2
  72. package/validation/executors/watchDir.js +26 -2
  73. package/validation/executors/watchNet.js +26 -2
  74. package/validation/jobs/todo/README.md +22 -0
  75. package/validation/tests/targets/adbID/index.html +21 -0
  76. package/validation/tests/targets/allCaps/index.html +21 -0
  77. package/validation/tests/targets/allHidden/ariaHiddenBody.html +21 -0
  78. package/validation/tests/targets/allHidden/good.html +21 -0
  79. package/validation/tests/targets/allHidden/hiddenMain.html +21 -0
  80. package/validation/tests/targets/allHidden/mixedHidden.html +22 -1
  81. package/validation/tests/targets/allHidden/noBody.html +21 -0
  82. package/validation/tests/targets/allHidden/noMain.html +21 -0
  83. package/validation/tests/targets/allHidden/noneDoc.html +21 -0
  84. package/validation/tests/targets/allHidden/visHiddenMain.html +21 -0
  85. package/validation/tests/targets/allSlanted/index.html +21 -0
  86. package/validation/tests/targets/altScheme/index.html +21 -0
  87. package/validation/tests/targets/attVal/bad.html +21 -0
  88. package/validation/tests/targets/attVal/good.html +21 -0
  89. package/validation/tests/targets/autocomplete/bad.html +21 -0
  90. package/validation/tests/targets/autocomplete/good.html +21 -0
  91. package/validation/tests/targets/bulk/bad.html +21 -0
  92. package/validation/tests/targets/bulk/good.html +21 -0
  93. package/validation/tests/targets/buttonMenu/bad.html +21 -0
  94. package/validation/tests/targets/buttonMenu/bad.js +27 -0
  95. package/validation/tests/targets/buttonMenu/good.html +21 -0
  96. package/validation/tests/targets/buttonMenu/good.js +27 -0
  97. package/validation/tests/targets/buttonMenu/style.css +27 -0
  98. package/validation/tests/targets/captionLoc/index.html +21 -0
  99. package/validation/tests/targets/datalistRef/index.html +21 -0
  100. package/validation/tests/targets/distortion/index.html +21 -0
  101. package/validation/tests/targets/docType/bad.html +21 -0
  102. package/validation/tests/targets/docType/good.html +21 -0
  103. package/validation/tests/targets/dupAtt/bad.html +21 -0
  104. package/validation/tests/targets/dupAtt/good.html +21 -0
  105. package/validation/tests/targets/elements/index.html +21 -0
  106. package/validation/tests/targets/embAc/bad.html +21 -0
  107. package/validation/tests/targets/embAc/good.html +21 -0
  108. package/validation/tests/targets/filter/bad.html +21 -0
  109. package/validation/tests/targets/filter/good.html +21 -0
  110. package/validation/tests/targets/focAll/good.html +21 -0
  111. package/validation/tests/targets/focAll/less.html +21 -0
  112. package/validation/tests/targets/focAll/more.html +21 -0
  113. package/validation/tests/targets/focInd/bad.html +21 -0
  114. package/validation/tests/targets/focInd/good.html +21 -0
  115. package/validation/tests/targets/focOp/bad.html +21 -0
  116. package/validation/tests/targets/focOp/good.html +21 -0
  117. package/validation/tests/targets/focVis/index.html +21 -0
  118. package/validation/tests/targets/headEl/index.html +21 -0
  119. package/validation/tests/targets/headingAmb/index.html +21 -0
  120. package/validation/tests/targets/hovInd/index.html +21 -0
  121. package/validation/tests/targets/hover/bad.html +21 -0
  122. package/validation/tests/targets/hover/good.html +21 -0
  123. package/validation/tests/targets/hr/index.html +21 -0
  124. package/validation/tests/targets/imageLink/index.html +21 -0
  125. package/validation/tests/targets/labClash/bad.html +21 -0
  126. package/validation/tests/targets/labClash/good.html +21 -0
  127. package/validation/tests/targets/legendLoc/index.html +21 -0
  128. package/validation/tests/targets/lineHeight/index.html +21 -0
  129. package/validation/tests/targets/linkAmb/index.html +21 -0
  130. package/validation/tests/targets/linkExt/index.html +21 -0
  131. package/validation/tests/targets/linkOldAtt/index.html +21 -0
  132. package/validation/tests/targets/linkTitle/index.html +21 -0
  133. package/validation/tests/targets/linkTo/index.html +21 -0
  134. package/validation/tests/targets/linkUl/bad.html +21 -0
  135. package/validation/tests/targets/linkUl/good.html +21 -0
  136. package/validation/tests/targets/linkUl/na.html +21 -0
  137. package/validation/tests/targets/miniText/index.html +21 -0
  138. package/validation/tests/targets/motion/bad.css +27 -0
  139. package/validation/tests/targets/motion/bad.html +21 -0
  140. package/validation/tests/targets/motion/good.html +21 -0
  141. package/validation/tests/targets/nonTable/index.html +21 -0
  142. package/validation/tests/targets/opFoc/bad.html +21 -0
  143. package/validation/tests/targets/opFoc/good.html +21 -0
  144. package/validation/tests/targets/optRoleSel/index.html +21 -0
  145. package/validation/tests/targets/phOnly/index.html +21 -0
  146. package/validation/tests/targets/pseudoP/index.html +21 -0
  147. package/validation/tests/targets/radioSet/bad.html +21 -0
  148. package/validation/tests/targets/radioSet/good.html +21 -0
  149. package/validation/tests/targets/role/bad.html +21 -0
  150. package/validation/tests/targets/role/good.html +21 -0
  151. package/validation/tests/targets/secHeading/index.html +21 -0
  152. package/validation/tests/targets/styleDiff/bad.html +21 -0
  153. package/validation/tests/targets/styleDiff/good.html +21 -0
  154. package/validation/tests/targets/tabNav/bad.html +21 -0
  155. package/validation/tests/targets/tabNav/bad.js +27 -0
  156. package/validation/tests/targets/tabNav/good.html +21 -0
  157. package/validation/tests/targets/tabNav/good.js +27 -0
  158. package/validation/tests/targets/tabNav/style.css +27 -0
  159. package/validation/tests/targets/targetSize/index.html +21 -0
  160. package/validation/tests/targets/textNodes/index.html +21 -0
  161. package/validation/tests/targets/textSem/index.html +21 -0
  162. package/validation/tests/targets/title/bad.html +21 -0
  163. package/validation/tests/targets/title/good.html +21 -0
  164. package/validation/tests/targets/titledEl/index.html +21 -0
  165. package/validation/tests/targets/zIndex/bad.html +21 -0
  166. package/validation/tests/targets/zIndex/good.html +21 -0
  167. package/validation/validateTest.js +39 -3
  168. package/validation/watch/done/README.md +23 -1
  169. package/validation/watch/todo/README.md +23 -1
  170. package/watch.js +32 -7
  171. package/call-old.js +0 -86
  172. package/procs/allText.js +0 -76
  173. package/procs/allVis.js +0 -17
  174. package/procs/getTextNodes.js +0 -39
  175. package/procs/linksByType.js +0 -54
  176. package/procs/nav.js +0 -259
  177. package/procs/textOf.txt +0 -73
  178. package/test copy.js +0 -38
  179. package/validation/tests/old/allCaps.json +0 -102
  180. package/validation/tests/old/allHidden.json +0 -314
  181. package/validation/tests/old/attVal.json +0 -60
  182. package/validation/tests/old/autocomplete.json +0 -51
  183. package/validation/tests/old/bulk.json +0 -48
  184. package/validation/tests/old/docType.json +0 -46
  185. package/validation/tests/old/dupAtt.json +0 -51
  186. package/validation/tests/old/elements.json +0 -140
  187. package/validation/tests/old/embAc.json +0 -54
  188. package/validation/tests/old/filter.json +0 -55
  189. package/validation/tests/old/focAll.json +0 -68
  190. package/validation/tests/old/focInd.json +0 -69
  191. package/validation/tests/old/focOp.json +0 -62
  192. package/validation/tests/old/focVis.json +0 -35
  193. package/validation/tests/old/hover.json +0 -118
  194. package/validation/tests/old/labClash.json +0 -52
  195. package/validation/tests/old/linkTo.json +0 -35
  196. package/validation/tests/old/linkUl.json +0 -71
  197. package/validation/tests/old/menuNav.json +0 -106
  198. package/validation/tests/old/miniText.json +0 -36
  199. package/validation/tests/old/motion.json +0 -62
  200. package/validation/tests/old/nonTable.json +0 -37
  201. package/validation/tests/old/radioSet.json +0 -52
  202. package/validation/tests/old/role.json +0 -60
  203. package/validation/tests/old/styleDiff.json +0 -71
  204. package/validation/tests/old/tabNav.json +0 -106
  205. package/validation/tests/old/temp.js +0 -28
  206. package/validation/tests/old/textNodes.json +0 -98
  207. package/validation/tests/old/title.json +0 -46
  208. package/validation/tests/old/titledEl.json +0 -37
  209. package/validation/tests/old/zIndex.json +0 -49
  210. package/validation/tests/targets/tabNav/goodMoz.js +0 -206
  211. package/watch-old.js +0 -275
  212. package/watch-temp.js +0 -45
@@ -1,118 +0,0 @@
1
- {
2
- "id": "hover",
3
- "what": "validation of hover 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__/hover/good.html",
15
- "what": "page with standard hover behavior"
16
- },
17
- {
18
- "type": "test",
19
- "which": "hover",
20
- "what": "hover",
21
- "sampleSize": 5,
22
- "withItems": true,
23
- "expect": [
24
- ["totals.triggers", "=", 4],
25
- ["totals.impactTriggers", "=", 0],
26
- ["totals.additions", "=", 0],
27
- ["totals.removals", "=", 0],
28
- ["totals.opacityChanges", "=", 0],
29
- ["totals.opacityImpact", "=", 0],
30
- ["totals.unhoverables", "=", 0],
31
- ["items.impactTriggers.0"]
32
- ]
33
- },
34
- {
35
- "type": "url",
36
- "which": "__targets__/hover/bad.html",
37
- "what": "page with deviant hover behavior"
38
- },
39
- {
40
- "type": "test",
41
- "which": "hover",
42
- "what": "hover",
43
- "sampleSize": 8,
44
- "withItems": true,
45
- "expect": [
46
- ["totals.triggers", "=", 6],
47
- ["totals.impactTriggers", "=", 3],
48
- ["totals.additions", "=", 3],
49
- ["totals.removals", "=", 1],
50
- ["totals.opacityChanges", "=", 1],
51
- ["totals.opacityImpact", "=", 1],
52
- ["totals.unhoverables", "=", 1],
53
- ["items.impactTriggers.0.tagName", "=", "A"],
54
- ["items.impactTriggers.1.tagName", "=", "BUTTON"],
55
- ["items.impactTriggers.2.tagName", "=", "LI"],
56
- ["items.impactTriggers.0.text", "=", "information"],
57
- ["items.impactTriggers.0.additions", "=", 0],
58
- ["items.impactTriggers.1.additions", "=", 3],
59
- ["items.impactTriggers.2.removals", "=", 1],
60
- ["items.impactTriggers.0.opacityChanges", "=", 1],
61
- ["items.impactTriggers.1.opacityImpact", "=", 0],
62
- ["items.unhoverables.0.tagName", "=", "BUTTON"],
63
- ["items.unhoverables.0.id", "=", "smallButton"],
64
- ["items.unhoverables.0.text", "=", "button"]
65
- ]
66
- },
67
- {
68
- "type": "url",
69
- "which": "__targets__/hover/large.html",
70
- "what": "page with deviant hover behavior"
71
- },
72
- {
73
- "type": "test",
74
- "which": "hover",
75
- "what": "hover",
76
- "sampleSize": 10,
77
- "withItems": false,
78
- "expect": [
79
- ["totals.triggers", "=", 20],
80
- ["totals.impactTriggers", ">", -1],
81
- ["totals.impactTriggers", "<", 6],
82
- ["totals.additions", ">", -1],
83
- ["totals.additions", "<", 6],
84
- ["totals.removals", "=", 0],
85
- ["totals.opacityChanges", "=", 0],
86
- ["totals.opacityImpact", "=", 0],
87
- ["totals.unhoverables", "=", 0]
88
- ]
89
- },
90
- {
91
- "type": "url",
92
- "which": "__targets__/hover/styleBad.html",
93
- "what": "page with deviant trigger styles"
94
- },
95
- {
96
- "type": "test",
97
- "which": "hover",
98
- "what": "hover",
99
- "sampleSize": 5,
100
- "withItems": true,
101
- "expect": [
102
- ["totals.noIndicators", "=", 1],
103
- ["totals.noCursors", "=", 1],
104
- ["totals.badIndicators", "=", 1],
105
- ["items.noIndicators.0.text", "=", "button"],
106
- ["items.noCursors.0.tagName", "=", "LI"],
107
- ["items.badIndicators.0.id", "=", "li2"]
108
- ]
109
- }
110
- ],
111
- "sources": {
112
- "script": "",
113
- "host": {},
114
- "requester": ""
115
- },
116
- "creationTime": "2002-11-12T09:31:00",
117
- "timeStamp": "00000"
118
- }
@@ -1,52 +0,0 @@
1
- {
2
- "id": "labClash",
3
- "what": "validation of labClash 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__/labClash/good.html",
15
- "what": "page with standard labeling"
16
- },
17
- {
18
- "type": "test",
19
- "which": "labClash",
20
- "what": "Labeling",
21
- "withItems": false,
22
- "expect": [
23
- ["totals.mislabeled", "=", 0],
24
- ["totals.unlabeled", "=", 0],
25
- ["totals.wellLabeled", "=", 7]
26
- ]
27
- },
28
- {
29
- "type": "url",
30
- "which": "__targets__/labClash/bad.html",
31
- "what": "page with deviant labeling"
32
- },
33
- {
34
- "type": "test",
35
- "which": "labClash",
36
- "what": "Labeling",
37
- "withItems": false,
38
- "expect": [
39
- ["totals.mislabeled", "=", 3],
40
- ["totals.unlabeled", "=", 3],
41
- ["totals.wellLabeled", "=", 0]
42
- ]
43
- }
44
- ],
45
- "sources": {
46
- "script": "",
47
- "host": {},
48
- "requester": ""
49
- },
50
- "creationTime": "2002-11-12T09:31:00",
51
- "timeStamp": "00000"
52
- }
@@ -1,35 +0,0 @@
1
- {
2
- "id": "linkTo",
3
- "what": "validation of linkTo 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__/linkTo/index.html",
15
- "what": "page with links with and without destinations"
16
- },
17
- {
18
- "type": "test",
19
- "which": "linkTo",
20
- "what": "links without destinations",
21
- "withItems": true,
22
- "expect": [
23
- ["total", "=", 1],
24
- ["items.0", "=", "nothing at all"]
25
- ]
26
- }
27
- ],
28
- "sources": {
29
- "script": "",
30
- "host": {},
31
- "requester": ""
32
- },
33
- "creationTime": "2002-11-12T09:31:00",
34
- "timeStamp": "00000"
35
- }
@@ -1,71 +0,0 @@
1
- {
2
- "id": "linkUl",
3
- "what": "validation of linkUl 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__/linkUl/good.html",
15
- "what": "page with underlined adjacent links"
16
- },
17
- {
18
- "type": "test",
19
- "which": "linkUl",
20
- "what": "adjacent-link underlining",
21
- "withItems": false,
22
- "expect": [
23
- ["totals.links", "=", 6],
24
- ["totals.adjacent.total", "=", 2],
25
- ["totals.adjacent.underlined", "=", 2],
26
- ["totals.adjacent.underlinedPercent", "=", 100]
27
- ]
28
- },
29
- {
30
- "type": "url",
31
- "which": "__targets__/linkUl/bad.html",
32
- "what": "page with nonunderlined adjacent links"
33
- },
34
- {
35
- "type": "test",
36
- "which": "linkUl",
37
- "what": "adjacent-link underlining",
38
- "withItems": false,
39
- "expect": [
40
- ["totals.links", "=", 6],
41
- ["totals.adjacent.total", "=", 6],
42
- ["totals.adjacent.underlined", "=", 0],
43
- ["totals.adjacent.underlinedPercent", "=", 0]
44
- ]
45
- },
46
- {
47
- "type": "url",
48
- "which": "__targets__/linkUl/na.html",
49
- "what": "page without adjacent links"
50
- },
51
- {
52
- "type": "test",
53
- "which": "linkUl",
54
- "what": "adjacent-link underlining",
55
- "withItems": false,
56
- "expect": [
57
- ["totals.links", "=", 2],
58
- ["totals.adjacent.total", "=", 0],
59
- ["totals.adjacent.underlined", "=", 0],
60
- ["totals.adjacent.underlinedPercent", "=", "N/A"]
61
- ]
62
- }
63
- ],
64
- "sources": {
65
- "script": "",
66
- "host": {},
67
- "requester": ""
68
- },
69
- "creationTime": "2002-11-12T09:31:00",
70
- "timeStamp": "00000"
71
- }
@@ -1,106 +0,0 @@
1
- {
2
- "id": "menuNav",
3
- "what": "validation of menuNav 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__/menuNav/good.html",
15
- "what": "page with standard menu navigation"
16
- },
17
- {
18
- "type": "test",
19
- "which": "menuNav",
20
- "what": "menu navigation",
21
- "withItems": false,
22
- "expect": [
23
- ["totals.navigations.all.total", "=", 20],
24
- ["totals.navigations.all.correct", "=", 20],
25
- ["totals.navigations.all.incorrect", "=", 0],
26
- ["totals.navigations.specific.tab.total", "=", 4],
27
- ["totals.navigations.specific.tab.correct", "=", 4],
28
- ["totals.navigations.specific.tab.incorrect", "=", 0],
29
- ["totals.navigations.specific.left.total", "=", 2],
30
- ["totals.navigations.specific.left.correct", "=", 2],
31
- ["totals.navigations.specific.left.incorrect", "=", 0],
32
- ["totals.navigations.specific.right.total", "=", 2],
33
- ["totals.navigations.specific.right.correct", "=", 2],
34
- ["totals.navigations.specific.right.incorrect", "=", 0],
35
- ["totals.navigations.specific.up.total", "=", 2],
36
- ["totals.navigations.specific.up.correct", "=", 2],
37
- ["totals.navigations.specific.up.incorrect", "=", 0],
38
- ["totals.navigations.specific.down.total", "=", 2],
39
- ["totals.navigations.specific.down.correct", "=", 2],
40
- ["totals.navigations.specific.down.incorrect", "=", 0],
41
- ["totals.navigations.specific.home.total", "=", 4],
42
- ["totals.navigations.specific.home.correct", "=", 4],
43
- ["totals.navigations.specific.home.incorrect", "=", 0],
44
- ["totals.navigations.specific.end.total", "=", 4],
45
- ["totals.navigations.specific.end.correct", "=", 4],
46
- ["totals.navigations.specific.end.incorrect", "=", 0],
47
- ["totals.menuItems.total", "=", 4],
48
- ["totals.menuItems.correct", "=", 4],
49
- ["totals.menuItems.incorrect", "=", 0],
50
- ["totals.menus.total", "=", 2],
51
- ["totals.menus.correct", "=", 2],
52
- ["totals.menus.incorrect", "=", 0]
53
- ]
54
- },
55
- {
56
- "type": "url",
57
- "which": "__targets__/menuNav/bad.html",
58
- "what": "page with deviant menu navigation"
59
- },
60
- {
61
- "type": "test",
62
- "which": "menuNav",
63
- "what": "menu navigation",
64
- "withItems": false,
65
- "expect": [
66
- ["totals.navigations.all.total", "=", 20],
67
- ["totals.navigations.all.correct", "=", 12],
68
- ["totals.navigations.all.incorrect", "=", 8],
69
- ["totals.navigations.specific.tab.total", "=", 4],
70
- ["totals.navigations.specific.tab.correct", "=", 4],
71
- ["totals.navigations.specific.tab.incorrect", "=", 0],
72
- ["totals.navigations.specific.left.total", "=", 2],
73
- ["totals.navigations.specific.left.correct", "=", 1],
74
- ["totals.navigations.specific.left.incorrect", "=", 1],
75
- ["totals.navigations.specific.right.total", "=", 2],
76
- ["totals.navigations.specific.right.correct", "=", 1],
77
- ["totals.navigations.specific.right.incorrect", "=", 1],
78
- ["totals.navigations.specific.up.total", "=", 2],
79
- ["totals.navigations.specific.up.correct", "=", 1],
80
- ["totals.navigations.specific.up.incorrect", "=", 1],
81
- ["totals.navigations.specific.down.total", "=", 2],
82
- ["totals.navigations.specific.down.correct", "=", 1],
83
- ["totals.navigations.specific.down.incorrect", "=", 1],
84
- ["totals.navigations.specific.home.total", "=", 4],
85
- ["totals.navigations.specific.home.correct", "=", 2],
86
- ["totals.navigations.specific.home.incorrect", "=", 2],
87
- ["totals.navigations.specific.end.total", "=", 4],
88
- ["totals.navigations.specific.end.correct", "=", 2],
89
- ["totals.navigations.specific.end.incorrect", "=", 2],
90
- ["totals.menuItems.total", "=", 4],
91
- ["totals.menuItems.correct", "=", 0],
92
- ["totals.menuItems.incorrect", "=", 4],
93
- ["totals.menus.total", "=", 2],
94
- ["totals.menus.correct", "=", 0],
95
- ["totals.menus.incorrect", "=", 2]
96
- ]
97
- }
98
- ],
99
- "sources": {
100
- "script": "",
101
- "host": {},
102
- "requester": ""
103
- },
104
- "creationTime": "2002-11-12T09:31:00",
105
- "timeStamp": "00000"
106
- }
@@ -1,36 +0,0 @@
1
- {
2
- "id": "miniText",
3
- "what": "validation of miniText 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__/miniText/index.html",
15
- "what": "page with text in various font sizes"
16
- },
17
- {
18
- "type": "test",
19
- "which": "miniText",
20
- "what": "small text",
21
- "withItems": true,
22
- "expect": [
23
- ["total", "=", 3],
24
- ["items.0", "i", "rem"],
25
- ["items.2", "i", "named"]
26
- ]
27
- }
28
- ],
29
- "sources": {
30
- "script": "",
31
- "host": {},
32
- "requester": ""
33
- },
34
- "creationTime": "2002-11-12T09:31:00",
35
- "timeStamp": "00000"
36
- }
@@ -1,62 +0,0 @@
1
- {
2
- "id": "motion",
3
- "what": "validation of motion test",
4
- "strict": true,
5
- "timeLimit": 20,
6
- "acts": [
7
- {
8
- "type": "launch",
9
- "which": "webkit",
10
- "what": "used for tests on which chromium fails on some URLs"
11
- },
12
- {
13
- "type": "url",
14
- "which": "__targets__/motion/good.html",
15
- "what": "page without motion"
16
- },
17
- {
18
- "type": "test",
19
- "which": "motion",
20
- "what": "spontaneous change of content",
21
- "delay": 2400,
22
- "interval": 2600,
23
- "count": 5,
24
- "expect": [
25
- ["meanLocalRatio", "=", 1],
26
- ["maxLocalRatio", "=", 1],
27
- ["globalRatio", "=", 1],
28
- ["meanPixelChange", "=", 0],
29
- ["maxPixelChange", "=", 0],
30
- ["changeFrequency", "=", 0]
31
- ]
32
- },
33
- {
34
- "type": "url",
35
- "which": "__targets__/motion/bad.html",
36
- "what": "page with motion"
37
- },
38
- {
39
- "type": "test",
40
- "which": "motion",
41
- "what": "spontaneous change of content",
42
- "delay": 2400,
43
- "interval": 2600,
44
- "count": 5,
45
- "expect": [
46
- ["meanLocalRatio", ">", 1],
47
- ["maxLocalRatio", ">", 1],
48
- ["globalRatio", ">", 1],
49
- ["meanPixelChange", ">", 0],
50
- ["maxPixelChange", ">", 0],
51
- ["changeFrequency", ">", 0]
52
- ]
53
- }
54
- ],
55
- "sources": {
56
- "script": "",
57
- "host": {},
58
- "requester": ""
59
- },
60
- "creationTime": "2002-11-12T09:31:00",
61
- "timeStamp": "00000"
62
- }
@@ -1,37 +0,0 @@
1
- {
2
- "id": "nonTable",
3
- "what": "validation of nonTable 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__/nonTable/index.html",
15
- "what": "page with a real table and 3 pseudotables"
16
- },
17
- {
18
- "type": "test",
19
- "which": "nonTable",
20
- "what": "tables used for layout",
21
- "withItems": true,
22
- "expect": [
23
- ["total", "=", 3],
24
- ["items.0", "i", "Unit"],
25
- ["items.1", "i", "Sales"],
26
- ["items.2", "i", "Chime"]
27
- ]
28
- }
29
- ],
30
- "sources": {
31
- "script": "",
32
- "host": {},
33
- "requester": ""
34
- },
35
- "creationTime": "2002-11-12T09:31:00",
36
- "timeStamp": "00000"
37
- }
@@ -1,52 +0,0 @@
1
- {
2
- "id": "radioSet",
3
- "what": "validation of radioSet 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__/radioSet/good.html",
15
- "what": "page with standard radio-button grouping"
16
- },
17
- {
18
- "type": "test",
19
- "which": "radioSet",
20
- "what": "radioSet",
21
- "withItems": false,
22
- "expect": [
23
- ["totals.total", "=", 4],
24
- ["totals.inSet", "=", 4],
25
- ["totals.percent", "=", 100]
26
- ]
27
- },
28
- {
29
- "type": "url",
30
- "which": "__targets__/radioSet/bad.html",
31
- "what": "page with deviant radio-button grouping"
32
- },
33
- {
34
- "type": "test",
35
- "which": "radioSet",
36
- "what": "radioSet",
37
- "withItems": false,
38
- "expect": [
39
- ["totals.total", "=", 8],
40
- ["totals.inSet", "=", 0],
41
- ["totals.percent", "=", 0]
42
- ]
43
- }
44
- ],
45
- "sources": {
46
- "script": "",
47
- "host": {},
48
- "requester": ""
49
- },
50
- "creationTime": "2002-11-12T09:31:00",
51
- "timeStamp": "00000"
52
- }
@@ -1,60 +0,0 @@
1
- {
2
- "id": "role",
3
- "what": "validation of role 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__/role/good.html",
15
- "what": "page with standard roles"
16
- },
17
- {
18
- "type": "test",
19
- "which": "role",
20
- "what": "role",
21
- "expect": [
22
- ["roleElements", "=", 1],
23
- ["badRoleElements", "=", 0],
24
- ["redundantRoleElements", "=", 0]
25
- ]
26
- },
27
- {
28
- "type": "url",
29
- "which": "__targets__/role/bad.html",
30
- "what": "page with deviant roles"
31
- },
32
- {
33
- "type": "test",
34
- "which": "role",
35
- "what": "role",
36
- "expect": [
37
- ["roleElements", "=", 9],
38
- ["badRoleElements", "=", 6],
39
- ["redundantRoleElements", "=", 3],
40
- ["tagNames.SECTION.main.bad", "=", 1],
41
- ["tagNames.SECTION.section.bad", "=", 1],
42
- ["tagNames.H2.heading.bad", "=", 0],
43
- ["tagNames.H2.heading.redundant", "=", 1],
44
- ["tagNames.H3.heading.bad", "=", 2],
45
- ["tagNames.H3.heading.redundant", "=", 1],
46
- ["tagNames.INPUT.spinbutton.redundant", "=", 1],
47
- ["tagNames.INPUT.textbox.bad", "=", 1],
48
- ["tagNames.INPUT.textbox.redundant", "=", 0],
49
- ["tagNames.INPUT.combobox.bad", "=", 1]
50
- ]
51
- }
52
- ],
53
- "sources": {
54
- "script": "",
55
- "host": {},
56
- "requester": ""
57
- },
58
- "creationTime": "2002-11-12T09:31:00",
59
- "timeStamp": "00000"
60
- }