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.
- package/README.md +190 -94
- package/actSpecs.js +17 -158
- package/package.json +1 -1
- package/run.js +31 -31
- package/standardize.js +338 -0
- package/{tests → testaro}/allHidden.js +36 -1
- package/{tests → testaro}/attVal.js +36 -2
- package/{tests → testaro}/autocomplete.js +34 -1
- package/{tests → testaro}/bulk.js +15 -1
- package/{tests → testaro}/docType.js +15 -1
- package/{tests → testaro}/dupAtt.js +34 -1
- package/{tests → testaro}/elements.js +9 -3
- package/testaro/embAc.js +78 -0
- package/{tests → testaro}/filter.js +35 -1
- package/{tests → testaro}/focAll.js +20 -3
- package/{tests → testaro}/focInd.js +45 -3
- package/{tests → testaro}/focOp.js +61 -2
- package/{tests → testaro}/focVis.js +35 -1
- package/{tests → testaro}/hover.js +67 -5
- package/{tests → testaro}/labClash.js +54 -4
- package/{tests → testaro}/linkTo.js +33 -1
- package/{tests → testaro}/linkUl.js +43 -5
- package/{tests → testaro}/menuNav.js +42 -1
- package/{tests → testaro}/miniText.js +32 -1
- package/{tests → testaro}/motion.js +27 -4
- package/{tests → testaro}/nonTable.js +32 -1
- package/{tests → testaro}/radioSet.js +33 -2
- package/{tests → testaro}/role.js +38 -1
- package/{tests → testaro}/styleDiff.js +43 -2
- package/{tests → testaro}/tabNav.js +42 -1
- package/{tests → testaro}/textNodes.js +6 -2
- package/{tests → testaro}/title.js +8 -4
- package/{tests → testaro}/titledEl.js +32 -1
- package/{tests → testaro}/zIndex.js +40 -2
- package/tests/alfa.js +72 -75
- package/tests/continuum.js +6 -2
- package/tests/ibm.js +14 -42
- package/tests/testaro.js +73 -0
- package/validation/tests/jobs/allHidden.json +877 -174
- package/validation/tests/jobs/attVal.json +57 -19
- package/validation/tests/jobs/autocomplete.json +34 -8
- package/validation/tests/jobs/bulk.json +33 -7
- package/validation/tests/jobs/docType.json +23 -5
- package/validation/tests/jobs/dupAtt.json +47 -8
- package/validation/tests/jobs/elements.json +231 -70
- package/validation/tests/jobs/embAc.json +70 -15
- package/validation/tests/jobs/filter.json +56 -12
- package/validation/tests/jobs/focAll.json +64 -16
- package/validation/tests/jobs/focInd.json +107 -23
- package/validation/tests/jobs/focOp.json +93 -21
- package/validation/tests/jobs/focVis.json +16 -4
- package/validation/tests/jobs/hover.json +246 -56
- package/validation/tests/jobs/labClash.json +43 -11
- package/validation/tests/jobs/linkTo.json +16 -4
- package/validation/tests/jobs/linkUl.json +79 -19
- package/validation/tests/jobs/menuNav.json +313 -65
- package/validation/tests/jobs/miniText.json +21 -5
- package/validation/tests/jobs/motion.json +81 -23
- package/validation/tests/jobs/nonTable.json +26 -6
- package/validation/tests/jobs/radioSet.json +43 -11
- package/validation/tests/jobs/role.json +93 -19
- package/validation/tests/jobs/styleDiff.json +124 -28
- package/validation/tests/jobs/tabNav.json +313 -65
- package/validation/tests/jobs/textNodes.json +190 -49
- package/validation/tests/jobs/title.json +23 -5
- package/validation/tests/jobs/titledEl.json +26 -6
- package/validation/tests/jobs/zIndex.json +28 -8
- package/validation/tests/old/allHidden.json +314 -0
- package/validation/tests/old/attVal.json +60 -0
- package/validation/tests/old/autocomplete.json +51 -0
- package/validation/tests/old/bulk.json +48 -0
- package/validation/tests/old/docType.json +46 -0
- package/validation/tests/old/dupAtt.json +51 -0
- package/validation/tests/old/elements.json +140 -0
- package/validation/tests/old/embAc.json +54 -0
- package/validation/tests/old/filter.json +55 -0
- package/validation/tests/old/focAll.json +68 -0
- package/validation/tests/old/focInd.json +69 -0
- package/validation/tests/old/focOp.json +62 -0
- package/validation/tests/old/focVis.json +35 -0
- package/validation/tests/old/hover.json +118 -0
- package/validation/tests/old/labClash.json +52 -0
- package/validation/tests/old/linkTo.json +35 -0
- package/validation/tests/old/linkUl.json +71 -0
- package/validation/tests/old/menuNav.json +106 -0
- package/validation/tests/old/miniText.json +36 -0
- package/validation/tests/old/motion.json +62 -0
- package/validation/tests/old/nonTable.json +37 -0
- package/validation/tests/old/radioSet.json +52 -0
- package/validation/tests/old/role.json +60 -0
- package/validation/tests/old/styleDiff.json +71 -0
- package/validation/tests/old/tabNav.json +106 -0
- package/validation/tests/old/temp.js +28 -0
- package/validation/tests/old/textNodes.json +98 -0
- package/validation/tests/old/title.json +46 -0
- package/validation/tests/old/titledEl.json +37 -0
- package/validation/tests/old/zIndex.json +49 -0
- package/validation/tests/targets/attVal/good.html +1 -1
- package/validation/tests/targets/elements/index.html +1 -0
- package/tests/embAc.js +0 -36
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "styleDiff",
|
|
3
|
+
"what": "validation of styleDiff 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__/styleDiff/good.html",
|
|
15
|
+
"what": "page with consistent styles"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "test",
|
|
19
|
+
"which": "styleDiff",
|
|
20
|
+
"withItems": true,
|
|
21
|
+
"what": "styleDiff",
|
|
22
|
+
"expect": [
|
|
23
|
+
["totals.adjacentLink.total", "=", 2],
|
|
24
|
+
["totals.listLink.total", "=", 2],
|
|
25
|
+
["totals.button.total", "=", 2],
|
|
26
|
+
["totals.h1.total", "=", 1],
|
|
27
|
+
["totals.h2.total", "=", 4],
|
|
28
|
+
["totals.adjacentLink.subtotals"],
|
|
29
|
+
["totals.listLink.subtotals"],
|
|
30
|
+
["totals.button.subtotals"],
|
|
31
|
+
["totals.h1.subtotals"],
|
|
32
|
+
["totals.h2.subtotals"]
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "url",
|
|
37
|
+
"which": "__targets__/styleDiff/bad.html",
|
|
38
|
+
"what": "page with consistent styles"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "test",
|
|
42
|
+
"which": "styleDiff",
|
|
43
|
+
"withItems": true,
|
|
44
|
+
"what": "styleDiff",
|
|
45
|
+
"expect": [
|
|
46
|
+
["totals.adjacentLink.total", "=", 2],
|
|
47
|
+
["totals.listLink.total", "=", 2],
|
|
48
|
+
["totals.button.total", "=", 2],
|
|
49
|
+
["totals.h1.total", "=", 1],
|
|
50
|
+
["totals.h2.total", "=", 4],
|
|
51
|
+
["totals.adjacentLink.subtotals.0", "=", 1],
|
|
52
|
+
["totals.adjacentLink.subtotals.1", "=", 1],
|
|
53
|
+
["totals.listLink.subtotals.0", "=", 1],
|
|
54
|
+
["totals.listLink.subtotals.1", "=", 1],
|
|
55
|
+
["totals.button.subtotals.0", "=", 1],
|
|
56
|
+
["totals.button.subtotals.1", "=", 1],
|
|
57
|
+
["totals.h1.subtotals"],
|
|
58
|
+
["totals.h2.subtotals.0", "=", 3],
|
|
59
|
+
["totals.h2.subtotals.1", "=", 1],
|
|
60
|
+
["items.adjacentLink.textDecorationStyle.double.0", "=", "French information"]
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"sources": {
|
|
65
|
+
"script": "",
|
|
66
|
+
"host": {},
|
|
67
|
+
"requester": ""
|
|
68
|
+
},
|
|
69
|
+
"creationTime": "2002-11-12T09:31:00",
|
|
70
|
+
"timeStamp": "00000"
|
|
71
|
+
}
|