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.
- package/CONTRIBUTING.md +26 -4
- package/LICENSE +1 -1
- package/README.md +24 -2
- package/aceconfig.js +27 -0
- package/actSpecs.js +28 -1
- package/call.js +22 -1
- package/data/template.js +22 -0
- package/dirWatch.js +22 -0
- package/package.json +1 -1
- package/procs/aslint.js +24 -0
- package/procs/getLocatorData.js +29 -1
- package/procs/getSource.js +30 -3
- package/procs/isInlineLink.js +23 -0
- package/procs/operable.js +23 -2
- package/procs/sample.js +22 -0
- package/procs/standardize.js +28 -7
- package/procs/tellServer.js +24 -2
- package/procs/testaro.js +26 -1
- package/procs/visChange.js +22 -0
- package/run.js +373 -83
- package/testaro/allCaps.js +22 -0
- package/testaro/allHidden.js +22 -0
- package/testaro/allSlanted.js +22 -0
- package/testaro/attVal.js +22 -0
- package/testaro/autocomplete.js +22 -0
- package/testaro/bulk.js +22 -0
- package/testaro/buttonMenu.js +22 -0
- package/testaro/distortion.js +22 -0
- package/testaro/docType.js +22 -0
- package/testaro/dupAtt.js +22 -0
- package/testaro/elements.js +22 -0
- package/testaro/embAc.js +22 -0
- package/testaro/filter.js +22 -0
- package/testaro/focAll.js +22 -0
- package/testaro/focInd.js +22 -0
- package/testaro/focOp.js +22 -0
- package/testaro/focVis.js +22 -0
- package/testaro/headEl.js +22 -0
- package/testaro/headingAmb.js +22 -0
- package/testaro/hovInd.js +21 -24
- package/testaro/hover.js +22 -0
- package/testaro/labClash.js +22 -0
- package/testaro/lineHeight.js +22 -0
- package/testaro/linkAmb.js +22 -0
- package/testaro/linkTitle.js +22 -0
- package/testaro/linkUl.js +22 -0
- package/testaro/miniText.js +22 -0
- package/testaro/motion.js +22 -0
- package/testaro/nonTable.js +22 -0
- package/testaro/opFoc.js +22 -0
- package/testaro/pseudoP.js +25 -3
- package/testaro/radioSet.js +22 -0
- package/testaro/role.js +22 -0
- package/testaro/styleDiff.js +80 -1
- package/testaro/tabNav.js +99 -2
- package/testaro/targetSize.js +22 -0
- package/testaro/textNodes.js +25 -3
- package/testaro/title.js +22 -0
- package/testaro/zIndex.js +22 -0
- package/tests/alfa.js +34 -12
- package/tests/aslint.js +55 -17
- package/tests/axe.js +35 -9
- package/tests/htmlcs.js +109 -78
- package/tests/ibm.js +111 -45
- package/tests/nuVal.js +39 -9
- package/tests/qualWeb.js +49 -25
- package/tests/testaro.js +50 -22
- package/tests/wave.js +36 -10
- package/validation/executors/run.js +26 -2
- package/validation/executors/test.js +27 -3
- package/validation/executors/tests.js +26 -2
- package/validation/executors/watchDir.js +26 -2
- package/validation/executors/watchNet.js +26 -2
- package/validation/jobs/todo/README.md +22 -0
- package/validation/tests/targets/adbID/index.html +21 -0
- package/validation/tests/targets/allCaps/index.html +21 -0
- package/validation/tests/targets/allHidden/ariaHiddenBody.html +21 -0
- package/validation/tests/targets/allHidden/good.html +21 -0
- package/validation/tests/targets/allHidden/hiddenMain.html +21 -0
- package/validation/tests/targets/allHidden/mixedHidden.html +22 -1
- package/validation/tests/targets/allHidden/noBody.html +21 -0
- package/validation/tests/targets/allHidden/noMain.html +21 -0
- package/validation/tests/targets/allHidden/noneDoc.html +21 -0
- package/validation/tests/targets/allHidden/visHiddenMain.html +21 -0
- package/validation/tests/targets/allSlanted/index.html +21 -0
- package/validation/tests/targets/altScheme/index.html +21 -0
- package/validation/tests/targets/attVal/bad.html +21 -0
- package/validation/tests/targets/attVal/good.html +21 -0
- package/validation/tests/targets/autocomplete/bad.html +21 -0
- package/validation/tests/targets/autocomplete/good.html +21 -0
- package/validation/tests/targets/bulk/bad.html +21 -0
- package/validation/tests/targets/bulk/good.html +21 -0
- package/validation/tests/targets/buttonMenu/bad.html +21 -0
- package/validation/tests/targets/buttonMenu/bad.js +27 -0
- package/validation/tests/targets/buttonMenu/good.html +21 -0
- package/validation/tests/targets/buttonMenu/good.js +27 -0
- package/validation/tests/targets/buttonMenu/style.css +27 -0
- package/validation/tests/targets/captionLoc/index.html +21 -0
- package/validation/tests/targets/datalistRef/index.html +21 -0
- package/validation/tests/targets/distortion/index.html +21 -0
- package/validation/tests/targets/docType/bad.html +21 -0
- package/validation/tests/targets/docType/good.html +21 -0
- package/validation/tests/targets/dupAtt/bad.html +21 -0
- package/validation/tests/targets/dupAtt/good.html +21 -0
- package/validation/tests/targets/elements/index.html +21 -0
- package/validation/tests/targets/embAc/bad.html +21 -0
- package/validation/tests/targets/embAc/good.html +21 -0
- package/validation/tests/targets/filter/bad.html +21 -0
- package/validation/tests/targets/filter/good.html +21 -0
- package/validation/tests/targets/focAll/good.html +21 -0
- package/validation/tests/targets/focAll/less.html +21 -0
- package/validation/tests/targets/focAll/more.html +21 -0
- package/validation/tests/targets/focInd/bad.html +21 -0
- package/validation/tests/targets/focInd/good.html +21 -0
- package/validation/tests/targets/focOp/bad.html +21 -0
- package/validation/tests/targets/focOp/good.html +21 -0
- package/validation/tests/targets/focVis/index.html +21 -0
- package/validation/tests/targets/headEl/index.html +21 -0
- package/validation/tests/targets/headingAmb/index.html +21 -0
- package/validation/tests/targets/hovInd/index.html +21 -0
- package/validation/tests/targets/hover/bad.html +21 -0
- package/validation/tests/targets/hover/good.html +21 -0
- package/validation/tests/targets/hr/index.html +21 -0
- package/validation/tests/targets/imageLink/index.html +21 -0
- package/validation/tests/targets/labClash/bad.html +21 -0
- package/validation/tests/targets/labClash/good.html +21 -0
- package/validation/tests/targets/legendLoc/index.html +21 -0
- package/validation/tests/targets/lineHeight/index.html +21 -0
- package/validation/tests/targets/linkAmb/index.html +21 -0
- package/validation/tests/targets/linkExt/index.html +21 -0
- package/validation/tests/targets/linkOldAtt/index.html +21 -0
- package/validation/tests/targets/linkTitle/index.html +21 -0
- package/validation/tests/targets/linkTo/index.html +21 -0
- package/validation/tests/targets/linkUl/bad.html +21 -0
- package/validation/tests/targets/linkUl/good.html +21 -0
- package/validation/tests/targets/linkUl/na.html +21 -0
- package/validation/tests/targets/miniText/index.html +21 -0
- package/validation/tests/targets/motion/bad.css +27 -0
- package/validation/tests/targets/motion/bad.html +21 -0
- package/validation/tests/targets/motion/good.html +21 -0
- package/validation/tests/targets/nonTable/index.html +21 -0
- package/validation/tests/targets/opFoc/bad.html +21 -0
- package/validation/tests/targets/opFoc/good.html +21 -0
- package/validation/tests/targets/optRoleSel/index.html +21 -0
- package/validation/tests/targets/phOnly/index.html +21 -0
- package/validation/tests/targets/pseudoP/index.html +21 -0
- package/validation/tests/targets/radioSet/bad.html +21 -0
- package/validation/tests/targets/radioSet/good.html +21 -0
- package/validation/tests/targets/role/bad.html +21 -0
- package/validation/tests/targets/role/good.html +21 -0
- package/validation/tests/targets/secHeading/index.html +21 -0
- package/validation/tests/targets/styleDiff/bad.html +21 -0
- package/validation/tests/targets/styleDiff/good.html +21 -0
- package/validation/tests/targets/tabNav/bad.html +21 -0
- package/validation/tests/targets/tabNav/bad.js +27 -0
- package/validation/tests/targets/tabNav/good.html +21 -0
- package/validation/tests/targets/tabNav/good.js +27 -0
- package/validation/tests/targets/tabNav/style.css +27 -0
- package/validation/tests/targets/targetSize/index.html +21 -0
- package/validation/tests/targets/textNodes/index.html +21 -0
- package/validation/tests/targets/textSem/index.html +21 -0
- package/validation/tests/targets/title/bad.html +21 -0
- package/validation/tests/targets/title/good.html +21 -0
- package/validation/tests/targets/titledEl/index.html +21 -0
- package/validation/tests/targets/zIndex/bad.html +21 -0
- package/validation/tests/targets/zIndex/good.html +21 -0
- package/validation/validateTest.js +39 -3
- package/validation/watch/done/README.md +23 -1
- package/validation/watch/todo/README.md +23 -1
- package/watch.js +32 -7
- package/call-old.js +0 -86
- package/procs/allText.js +0 -76
- package/procs/allVis.js +0 -17
- package/procs/getTextNodes.js +0 -39
- package/procs/linksByType.js +0 -54
- package/procs/nav.js +0 -259
- package/procs/textOf.txt +0 -73
- package/test copy.js +0 -38
- package/validation/tests/old/allCaps.json +0 -102
- package/validation/tests/old/allHidden.json +0 -314
- package/validation/tests/old/attVal.json +0 -60
- package/validation/tests/old/autocomplete.json +0 -51
- package/validation/tests/old/bulk.json +0 -48
- package/validation/tests/old/docType.json +0 -46
- package/validation/tests/old/dupAtt.json +0 -51
- package/validation/tests/old/elements.json +0 -140
- package/validation/tests/old/embAc.json +0 -54
- package/validation/tests/old/filter.json +0 -55
- package/validation/tests/old/focAll.json +0 -68
- package/validation/tests/old/focInd.json +0 -69
- package/validation/tests/old/focOp.json +0 -62
- package/validation/tests/old/focVis.json +0 -35
- package/validation/tests/old/hover.json +0 -118
- package/validation/tests/old/labClash.json +0 -52
- package/validation/tests/old/linkTo.json +0 -35
- package/validation/tests/old/linkUl.json +0 -71
- package/validation/tests/old/menuNav.json +0 -106
- package/validation/tests/old/miniText.json +0 -36
- package/validation/tests/old/motion.json +0 -62
- package/validation/tests/old/nonTable.json +0 -37
- package/validation/tests/old/radioSet.json +0 -52
- package/validation/tests/old/role.json +0 -60
- package/validation/tests/old/styleDiff.json +0 -71
- package/validation/tests/old/tabNav.json +0 -106
- package/validation/tests/old/temp.js +0 -28
- package/validation/tests/old/textNodes.json +0 -98
- package/validation/tests/old/title.json +0 -46
- package/validation/tests/old/titledEl.json +0 -37
- package/validation/tests/old/zIndex.json +0 -49
- package/validation/tests/targets/tabNav/goodMoz.js +0 -206
- package/watch-old.js +0 -275
- package/watch-temp.js +0 -45
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "dupAtt",
|
|
3
|
-
"what": "validation of dupAtt 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__/dupAtt/good.html",
|
|
15
|
-
"what": "page without duplicate attributes"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "dupAtt",
|
|
20
|
-
"what": "elements with duplicate attributes",
|
|
21
|
-
"withItems": true,
|
|
22
|
-
"expect": [
|
|
23
|
-
["total", "=", 0],
|
|
24
|
-
["items.1"]
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"type": "url",
|
|
29
|
-
"which": "__targets__/dupAtt/bad.html",
|
|
30
|
-
"what": "page with duplicate attributes"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "test",
|
|
34
|
-
"which": "dupAtt",
|
|
35
|
-
"what": "elements with duplicate attributes",
|
|
36
|
-
"withItems": true,
|
|
37
|
-
"expect": [
|
|
38
|
-
["total", "=", 2],
|
|
39
|
-
["items.0", "=", "p class=\"narrow\" id=\"daParagraph\" class=\"wide\""],
|
|
40
|
-
["items.1", "i", "large"]
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"sources": {
|
|
45
|
-
"script": "",
|
|
46
|
-
"host": {},
|
|
47
|
-
"requester": ""
|
|
48
|
-
},
|
|
49
|
-
"creationTime": "2023-04-18T11:02:00",
|
|
50
|
-
"timeStamp": "00000"
|
|
51
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "elements",
|
|
3
|
-
"what": "validation of elements 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__/elements/index.html",
|
|
15
|
-
"what": "page with a shadow root"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "elements",
|
|
20
|
-
"what": "elements",
|
|
21
|
-
"detailLevel": 0,
|
|
22
|
-
"expect": [
|
|
23
|
-
["total", "=", 21]
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"type": "test",
|
|
28
|
-
"which": "elements",
|
|
29
|
-
"what": "elements",
|
|
30
|
-
"detailLevel": 0,
|
|
31
|
-
"tagName": "P",
|
|
32
|
-
"expect": [
|
|
33
|
-
["total", "=", 5]
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "test",
|
|
38
|
-
"which": "elements",
|
|
39
|
-
"what": "elements",
|
|
40
|
-
"detailLevel": 0,
|
|
41
|
-
"tagName": "LI",
|
|
42
|
-
"onlyVisible": true,
|
|
43
|
-
"expect": [
|
|
44
|
-
["total", "=", 2]
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"type": "test",
|
|
49
|
-
"which": "elements",
|
|
50
|
-
"what": "elements",
|
|
51
|
-
"detailLevel": 0,
|
|
52
|
-
"tagName": "P",
|
|
53
|
-
"attribute": "class",
|
|
54
|
-
"expect": [
|
|
55
|
-
["total", "=", 2]
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"type": "test",
|
|
60
|
-
"which": "elements",
|
|
61
|
-
"what": "elements",
|
|
62
|
-
"detailLevel": 1,
|
|
63
|
-
"tagName": "LI",
|
|
64
|
-
"attribute": "class=first",
|
|
65
|
-
"expect": [
|
|
66
|
-
["total", "=", 1],
|
|
67
|
-
["items.0.tagName", "=", "LI"],
|
|
68
|
-
["items.0.parentTagName", "=", "UL"],
|
|
69
|
-
["items.0.code", "i", "first"],
|
|
70
|
-
["items.0.attributes.0.name", "=", "class"],
|
|
71
|
-
["items.0.attributes.0.value", "=", "first"],
|
|
72
|
-
["items.0.textContent", "=", "Io"]
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"type": "test",
|
|
77
|
-
"which": "elements",
|
|
78
|
-
"what": "elements",
|
|
79
|
-
"detailLevel": 1,
|
|
80
|
-
"tagName": "INPUT",
|
|
81
|
-
"expect": [
|
|
82
|
-
["total", "=", 2],
|
|
83
|
-
["items.0.labels.1", "i", "anything"],
|
|
84
|
-
["items.1.labelers.0", "i", "something else"]
|
|
85
|
-
]
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"type": "test",
|
|
89
|
-
"which": "elements",
|
|
90
|
-
"what": "elements",
|
|
91
|
-
"detailLevel": 2,
|
|
92
|
-
"tagName": "LI",
|
|
93
|
-
"attribute": "class=first",
|
|
94
|
-
"expect": [
|
|
95
|
-
["items.0.textContent", "=", "Io"],
|
|
96
|
-
["items.0.parentTextContent", "i", "tute"]
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"type": "test",
|
|
101
|
-
"which": "elements",
|
|
102
|
-
"what": "elements",
|
|
103
|
-
"detailLevel": 2,
|
|
104
|
-
"tagName": "LI",
|
|
105
|
-
"onlyVisible": true,
|
|
106
|
-
"attribute": "class",
|
|
107
|
-
"expect": [
|
|
108
|
-
["total", "=", 1],
|
|
109
|
-
["items.0.parentTextContent", "i", "alia"],
|
|
110
|
-
["items.0.parentTextContent", "i", "tute"]
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"type": "test",
|
|
115
|
-
"which": "elements",
|
|
116
|
-
"what": "elements",
|
|
117
|
-
"detailLevel": 3,
|
|
118
|
-
"tagName": "P",
|
|
119
|
-
"attribute": "class=first",
|
|
120
|
-
"expect": [
|
|
121
|
-
["items.0.textContent", "=", "This is a paragraph."],
|
|
122
|
-
["items.0.parentTagName", "=", "MAIN"],
|
|
123
|
-
["items.0.parentTextContent", "i", "something."],
|
|
124
|
-
["items.0.siblings.before.0.type", "=", 3],
|
|
125
|
-
["items.0.siblings.before.1.type", "=", 1],
|
|
126
|
-
["items.0.siblings.before.1.tagName", "=", "H1"],
|
|
127
|
-
["items.0.siblings.after.12.type", "=", 1],
|
|
128
|
-
["items.0.siblings.after.12.tagName", "=", "LABEL"],
|
|
129
|
-
["items.0.siblings.after.12.attributes.0.name", "=", "for"]
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
"sources": {
|
|
134
|
-
"script": "",
|
|
135
|
-
"host": {},
|
|
136
|
-
"requester": ""
|
|
137
|
-
},
|
|
138
|
-
"creationTime": "2002-11-12T09:31:00",
|
|
139
|
-
"timeStamp": "00000"
|
|
140
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "embAc",
|
|
3
|
-
"what": "validation of embAc 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__/embAc/good.html",
|
|
15
|
-
"what": "page without embedding in links or buttons"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "embAc",
|
|
20
|
-
"what": "visible element count",
|
|
21
|
-
"withItems": false,
|
|
22
|
-
"expect": [
|
|
23
|
-
["totals.links", "=", 0],
|
|
24
|
-
["totals.buttons", "=", 0],
|
|
25
|
-
["totals.inputs", "=", 0],
|
|
26
|
-
["totals.selects", "=", 0]
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "url",
|
|
31
|
-
"which": "__targets__/embAc/bad.html",
|
|
32
|
-
"what": "page with embeddings in links and buttons"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "test",
|
|
36
|
-
"which": "embAc",
|
|
37
|
-
"what": "visible element count",
|
|
38
|
-
"withItems": false,
|
|
39
|
-
"expect": [
|
|
40
|
-
["totals.links", "=", 2],
|
|
41
|
-
["totals.buttons", "=", 2],
|
|
42
|
-
["totals.inputs", "=", 3],
|
|
43
|
-
["totals.selects", "=", 1]
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"sources": {
|
|
48
|
-
"script": "",
|
|
49
|
-
"host": {},
|
|
50
|
-
"requester": ""
|
|
51
|
-
},
|
|
52
|
-
"creationTime": "2002-11-12T09:31:00",
|
|
53
|
-
"timeStamp": "00000"
|
|
54
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "filter",
|
|
3
|
-
"what": "validation of filter 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__/filter/good.html",
|
|
15
|
-
"what": "page with no filter styles"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "filter",
|
|
20
|
-
"what": "filter",
|
|
21
|
-
"withItems": true,
|
|
22
|
-
"expect": [
|
|
23
|
-
["totals.styledElements", "=", 0],
|
|
24
|
-
["totals.impactedElements", "=", 0]
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"type": "url",
|
|
29
|
-
"which": "__targets__/filter/bad.html",
|
|
30
|
-
"what": "page with filter styles"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "test",
|
|
34
|
-
"which": "filter",
|
|
35
|
-
"what": "filter",
|
|
36
|
-
"withItems": true,
|
|
37
|
-
"expect": [
|
|
38
|
-
["totals.styledElements", "=", 2],
|
|
39
|
-
["totals.impactedElements", "=", 7],
|
|
40
|
-
["items.0.tagName", "=", "MAIN"],
|
|
41
|
-
["items.1.tagName", "=", "UL"],
|
|
42
|
-
["items.1.text", "i", "Item"],
|
|
43
|
-
["items.0.impact", "=", 5],
|
|
44
|
-
["items.1.impact", "=", 2]
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"sources": {
|
|
49
|
-
"script": "",
|
|
50
|
-
"host": {},
|
|
51
|
-
"requester": ""
|
|
52
|
-
},
|
|
53
|
-
"creationTime": "2002-11-12T09:31:00",
|
|
54
|
-
"timeStamp": "00000"
|
|
55
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "focAll",
|
|
3
|
-
"what": "validation of focAll 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__/focAll/good.html",
|
|
15
|
-
"what": "fully Tab-focusable page"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "focAll",
|
|
20
|
-
"what": "Tab-focusability",
|
|
21
|
-
"withItems": false,
|
|
22
|
-
"expect": [
|
|
23
|
-
["tabFocusables", "=", 3],
|
|
24
|
-
["tabFocused", "=", 3],
|
|
25
|
-
["discrepancy", "=", 0]
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"type": "url",
|
|
30
|
-
"which": "__targets__/focAll/less.html",
|
|
31
|
-
"what": "partly Tab-focusable page"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"type": "test",
|
|
35
|
-
"which": "focAll",
|
|
36
|
-
"what": "Tab-focusability",
|
|
37
|
-
"withItems": false,
|
|
38
|
-
"expect": [
|
|
39
|
-
["tabFocusables", "=", 3],
|
|
40
|
-
["tabFocused", "=", 2],
|
|
41
|
-
["discrepancy", "=", -1]
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "url",
|
|
46
|
-
"which": "__targets__/focAll/more.html",
|
|
47
|
-
"what": "page with added Tab-focusability"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "test",
|
|
51
|
-
"which": "focAll",
|
|
52
|
-
"what": "Tab-focusability",
|
|
53
|
-
"withItems": false,
|
|
54
|
-
"expect": [
|
|
55
|
-
["tabFocusables", "=", 3],
|
|
56
|
-
["tabFocused", "=", 5],
|
|
57
|
-
["discrepancy", "=", 2]
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
"sources": {
|
|
62
|
-
"script": "",
|
|
63
|
-
"host": {},
|
|
64
|
-
"requester": ""
|
|
65
|
-
},
|
|
66
|
-
"creationTime": "2002-11-12T09:31:00",
|
|
67
|
-
"timeStamp": "00000"
|
|
68
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "focInd",
|
|
3
|
-
"what": "validation of focInd 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__/focInd/good.html",
|
|
15
|
-
"what": "page with outline focus indication"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "focInd",
|
|
20
|
-
"revealAll": false,
|
|
21
|
-
"allowedDelay": 0,
|
|
22
|
-
"withItems": false,
|
|
23
|
-
"what": "focus indication",
|
|
24
|
-
"expect": [
|
|
25
|
-
["totals.total", "=", 4],
|
|
26
|
-
["totals.types.indicatorMissing.total", "=", 0],
|
|
27
|
-
["totals.types.nonOutlinePresent.total", "=", 0],
|
|
28
|
-
["totals.types.outlinePresent.total", "=", 4],
|
|
29
|
-
["totals.types.outlinePresent.tagNames.A", "=", 1],
|
|
30
|
-
["totals.types.outlinePresent.tagNames.BUTTON", "=", 1],
|
|
31
|
-
["totals.types.outlinePresent.tagNames.INPUT", "=", 2]
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "url",
|
|
36
|
-
"which": "__targets__/focInd/bad.html",
|
|
37
|
-
"what": "page with mixed focus indication"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "test",
|
|
41
|
-
"which": "focInd",
|
|
42
|
-
"revealAll": false,
|
|
43
|
-
"allowedDelay": 150,
|
|
44
|
-
"withItems": true,
|
|
45
|
-
"what": "focus indication",
|
|
46
|
-
"expect": [
|
|
47
|
-
["totals.total", "=", 9],
|
|
48
|
-
["totals.types.indicatorMissing.total", "=", 3],
|
|
49
|
-
["totals.types.indicatorMissing.tagNames.A", "=", 1],
|
|
50
|
-
["totals.types.indicatorMissing.tagNames.INPUT", "=", 2],
|
|
51
|
-
["totals.types.nonOutlinePresent.total", "=", 3],
|
|
52
|
-
["totals.types.nonOutlinePresent.tagNames.A", "=", 1],
|
|
53
|
-
["totals.types.nonOutlinePresent.tagNames.BUTTON", "=", 1],
|
|
54
|
-
["totals.types.nonOutlinePresent.tagNames.INPUT", "=", 1],
|
|
55
|
-
["totals.types.outlinePresent.total", "=", 3],
|
|
56
|
-
["totals.types.outlinePresent.tagNames.A", "=", 1],
|
|
57
|
-
["totals.types.outlinePresent.tagNames.BUTTON", "=", 1],
|
|
58
|
-
["totals.types.outlinePresent.tagNames.INPUT", "=", 1]
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"sources": {
|
|
63
|
-
"script": "",
|
|
64
|
-
"host": {},
|
|
65
|
-
"requester": ""
|
|
66
|
-
},
|
|
67
|
-
"creationTime": "2002-11-12T09:31:00",
|
|
68
|
-
"timeStamp": "00000"
|
|
69
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "focOp",
|
|
3
|
-
"what": "validation of focOp 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__/focOp/good.html",
|
|
15
|
-
"what": "page with standard focusability and operability"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "focOp",
|
|
20
|
-
"what": "focusability and operability",
|
|
21
|
-
"withItems": false,
|
|
22
|
-
"expect": [
|
|
23
|
-
["totals.total", "=", 3],
|
|
24
|
-
["totals.types.onlyFocusable.total", "=", 0],
|
|
25
|
-
["totals.types.onlyOperable.total", "=", 0],
|
|
26
|
-
["totals.types.focusableAndOperable.total", "=", 3],
|
|
27
|
-
["totals.types.focusableAndOperable.tagNames.A", "=", 1],
|
|
28
|
-
["totals.types.focusableAndOperable.tagNames.BUTTON", "=", 1],
|
|
29
|
-
["totals.types.focusableAndOperable.tagNames.INPUT", "=", 1]
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "url",
|
|
34
|
-
"which": "__targets__/focOp/bad.html",
|
|
35
|
-
"what": "page with deviant focusability and operability"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"type": "test",
|
|
39
|
-
"which": "focOp",
|
|
40
|
-
"what": "focusability and operability",
|
|
41
|
-
"withItems": false,
|
|
42
|
-
"expect": [
|
|
43
|
-
["totals.total", "=", 6],
|
|
44
|
-
["totals.types.onlyFocusable.total", "=", 1],
|
|
45
|
-
["totals.types.onlyFocusable.tagNames.SPAN", "=", 1],
|
|
46
|
-
["totals.types.onlyOperable.total", "=", 3],
|
|
47
|
-
["totals.types.onlyOperable.tagNames.BUTTON", "=", 1],
|
|
48
|
-
["totals.types.onlyOperable.tagNames.SPAN", "=", 2],
|
|
49
|
-
["totals.types.focusableAndOperable.total", "=", 2],
|
|
50
|
-
["totals.types.focusableAndOperable.tagNames.A", "=", 1],
|
|
51
|
-
["totals.types.focusableAndOperable.tagNames.INPUT", "=", 1]
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"sources": {
|
|
56
|
-
"script": "",
|
|
57
|
-
"host": {},
|
|
58
|
-
"requester": ""
|
|
59
|
-
},
|
|
60
|
-
"creationTime": "2002-11-12T09:31:00",
|
|
61
|
-
"timeStamp": "00000"
|
|
62
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "focVis",
|
|
3
|
-
"what": "validation of focVis 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__/focVis/index.html",
|
|
15
|
-
"what": "page with links inside and outside the viewport"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "test",
|
|
19
|
-
"which": "focVis",
|
|
20
|
-
"what": "off-display focused links",
|
|
21
|
-
"withItems": true,
|
|
22
|
-
"expect": [
|
|
23
|
-
["total", "=", 1],
|
|
24
|
-
["items.0", "=", "Basque information"]
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"sources": {
|
|
29
|
-
"script": "",
|
|
30
|
-
"host": {},
|
|
31
|
-
"requester": ""
|
|
32
|
-
},
|
|
33
|
-
"creationTime": "2002-11-12T09:31:00",
|
|
34
|
-
"timeStamp": "00000"
|
|
35
|
-
}
|