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
|
@@ -16,16 +16,26 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"type": "test",
|
|
19
|
-
"which": "
|
|
20
|
-
"attributeName": "lang",
|
|
21
|
-
"areLicit": true,
|
|
22
|
-
"values": ["en-US", "de-CH"],
|
|
19
|
+
"which": "testaro",
|
|
23
20
|
"what": "attribute values",
|
|
24
21
|
"withItems": true,
|
|
25
22
|
"expect": [
|
|
26
|
-
[
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
[
|
|
24
|
+
"result.rules.attVal.data.total",
|
|
25
|
+
"=",
|
|
26
|
+
0
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
"result.rules.attVal.data.items.1"
|
|
30
|
+
]
|
|
31
|
+
],
|
|
32
|
+
"rules": [
|
|
33
|
+
"y",
|
|
34
|
+
"attVal"
|
|
35
|
+
],
|
|
36
|
+
"args": {
|
|
37
|
+
"attVal": ["lang", true, ["en-US", "de-CH"]]
|
|
38
|
+
}
|
|
29
39
|
},
|
|
30
40
|
{
|
|
31
41
|
"type": "url",
|
|
@@ -34,20 +44,48 @@
|
|
|
34
44
|
},
|
|
35
45
|
{
|
|
36
46
|
"type": "test",
|
|
37
|
-
"which": "
|
|
38
|
-
"attributeName": "lang",
|
|
39
|
-
"areLicit": false,
|
|
40
|
-
"values": ["en", "de"],
|
|
47
|
+
"which": "testaro",
|
|
41
48
|
"what": "attribute values",
|
|
42
49
|
"withItems": true,
|
|
43
50
|
"expect": [
|
|
44
|
-
[
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
[
|
|
50
|
-
|
|
51
|
+
[
|
|
52
|
+
"result.rules.attVal.data.total",
|
|
53
|
+
"=",
|
|
54
|
+
2
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
"result.rules.attVal.data.items.0.tagName",
|
|
58
|
+
"=",
|
|
59
|
+
"HTML"
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
"result.rules.attVal.data.items.0.attributeValue",
|
|
63
|
+
"=",
|
|
64
|
+
"en"
|
|
65
|
+
],
|
|
66
|
+
[
|
|
67
|
+
"result.rules.attVal.data.items.1.tagName",
|
|
68
|
+
"=",
|
|
69
|
+
"SPAN"
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
"result.rules.attVal.data.items.1.attributeValue",
|
|
73
|
+
"=",
|
|
74
|
+
"de"
|
|
75
|
+
],
|
|
76
|
+
[
|
|
77
|
+
"result.rules.attVal.data.items.1.textStart",
|
|
78
|
+
"i",
|
|
79
|
+
"Veloparkieren"
|
|
80
|
+
]
|
|
81
|
+
],
|
|
82
|
+
"rules": [
|
|
83
|
+
"y",
|
|
84
|
+
"attVal"
|
|
85
|
+
],
|
|
86
|
+
"args": {
|
|
87
|
+
"attVal": ["lang", true, ["en-US", "de-CH"]]
|
|
88
|
+
}
|
|
51
89
|
}
|
|
52
90
|
],
|
|
53
91
|
"sources": {
|
|
@@ -55,6 +93,6 @@
|
|
|
55
93
|
"host": {},
|
|
56
94
|
"requester": ""
|
|
57
95
|
},
|
|
58
|
-
"creationTime": "
|
|
96
|
+
"creationTime": "2013-05-28T12:00:00",
|
|
59
97
|
"timeStamp": "00000"
|
|
60
98
|
}
|
|
@@ -16,12 +16,22 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"type": "test",
|
|
19
|
-
"which": "
|
|
19
|
+
"which": "testaro",
|
|
20
20
|
"what": "autocomplete attributes for name and email",
|
|
21
21
|
"withItems": true,
|
|
22
22
|
"expect": [
|
|
23
|
-
[
|
|
24
|
-
|
|
23
|
+
[
|
|
24
|
+
"result.rules.autocomplete.data.total",
|
|
25
|
+
"=",
|
|
26
|
+
0
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
"result.rules.autocomplete.data.items.1"
|
|
30
|
+
]
|
|
31
|
+
],
|
|
32
|
+
"rules": [
|
|
33
|
+
"y",
|
|
34
|
+
"autocomplete"
|
|
25
35
|
]
|
|
26
36
|
},
|
|
27
37
|
{
|
|
@@ -31,13 +41,29 @@
|
|
|
31
41
|
},
|
|
32
42
|
{
|
|
33
43
|
"type": "test",
|
|
34
|
-
"which": "
|
|
44
|
+
"which": "testaro",
|
|
35
45
|
"what": "autocomplete attributes for name and email",
|
|
36
46
|
"withItems": true,
|
|
37
47
|
"expect": [
|
|
38
|
-
[
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
[
|
|
49
|
+
"result.rules.autocomplete.data.total",
|
|
50
|
+
"=",
|
|
51
|
+
4
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
"result.rules.autocomplete.data.items.1.0",
|
|
55
|
+
"=",
|
|
56
|
+
"family-name"
|
|
57
|
+
],
|
|
58
|
+
[
|
|
59
|
+
"result.rules.autocomplete.data.items.2.1",
|
|
60
|
+
"=",
|
|
61
|
+
"Your email address"
|
|
62
|
+
]
|
|
63
|
+
],
|
|
64
|
+
"rules": [
|
|
65
|
+
"y",
|
|
66
|
+
"autocomplete"
|
|
41
67
|
]
|
|
42
68
|
}
|
|
43
69
|
],
|
|
@@ -46,6 +72,6 @@
|
|
|
46
72
|
"host": {},
|
|
47
73
|
"requester": ""
|
|
48
74
|
},
|
|
49
|
-
"creationTime": "
|
|
75
|
+
"creationTime": "2013-05-28T12:00:00",
|
|
50
76
|
"timeStamp": "00000"
|
|
51
77
|
}
|
|
@@ -16,11 +16,24 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"type": "test",
|
|
19
|
-
"which": "
|
|
19
|
+
"which": "testaro",
|
|
20
20
|
"what": "visible element count",
|
|
21
21
|
"expect": [
|
|
22
|
-
[
|
|
23
|
-
|
|
22
|
+
[
|
|
23
|
+
"result.rules.bulk.data.visibleElements",
|
|
24
|
+
">",
|
|
25
|
+
1
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
"result.rules.bulk.data.visibleElements",
|
|
29
|
+
"<",
|
|
30
|
+
5
|
|
31
|
+
]
|
|
32
|
+
],
|
|
33
|
+
"withItems": true,
|
|
34
|
+
"rules": [
|
|
35
|
+
"y",
|
|
36
|
+
"bulk"
|
|
24
37
|
]
|
|
25
38
|
},
|
|
26
39
|
{
|
|
@@ -30,11 +43,24 @@
|
|
|
30
43
|
},
|
|
31
44
|
{
|
|
32
45
|
"type": "test",
|
|
33
|
-
"which": "
|
|
46
|
+
"which": "testaro",
|
|
34
47
|
"what": "visible element count",
|
|
35
48
|
"expect": [
|
|
36
|
-
[
|
|
37
|
-
|
|
49
|
+
[
|
|
50
|
+
"result.rules.bulk.data.visibleElements",
|
|
51
|
+
">",
|
|
52
|
+
30
|
|
53
|
+
],
|
|
54
|
+
[
|
|
55
|
+
"result.rules.bulk.data.visibleElements",
|
|
56
|
+
"<",
|
|
57
|
+
40
|
|
58
|
+
]
|
|
59
|
+
],
|
|
60
|
+
"withItems": true,
|
|
61
|
+
"rules": [
|
|
62
|
+
"y",
|
|
63
|
+
"bulk"
|
|
38
64
|
]
|
|
39
65
|
}
|
|
40
66
|
],
|
|
@@ -43,6 +69,6 @@
|
|
|
43
69
|
"host": {},
|
|
44
70
|
"requester": ""
|
|
45
71
|
},
|
|
46
|
-
"creationTime": "
|
|
72
|
+
"creationTime": "2013-05-28T12:00:00",
|
|
47
73
|
"timeStamp": "00000"
|
|
48
74
|
}
|
|
@@ -16,10 +16,19 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"type": "test",
|
|
19
|
-
"which": "
|
|
19
|
+
"which": "testaro",
|
|
20
20
|
"what": "doctype",
|
|
21
21
|
"expect": [
|
|
22
|
-
[
|
|
22
|
+
[
|
|
23
|
+
"result.rules.docType.data.docHasType",
|
|
24
|
+
"=",
|
|
25
|
+
true
|
|
26
|
+
]
|
|
27
|
+
],
|
|
28
|
+
"withItems": true,
|
|
29
|
+
"rules": [
|
|
30
|
+
"y",
|
|
31
|
+
"docType"
|
|
23
32
|
]
|
|
24
33
|
},
|
|
25
34
|
{
|
|
@@ -29,10 +38,19 @@
|
|
|
29
38
|
},
|
|
30
39
|
{
|
|
31
40
|
"type": "test",
|
|
32
|
-
"which": "
|
|
41
|
+
"which": "testaro",
|
|
33
42
|
"what": "doctype",
|
|
34
43
|
"expect": [
|
|
35
|
-
[
|
|
44
|
+
[
|
|
45
|
+
"result.rules.docType.data.docHasType",
|
|
46
|
+
"=",
|
|
47
|
+
false
|
|
48
|
+
]
|
|
49
|
+
],
|
|
50
|
+
"withItems": true,
|
|
51
|
+
"rules": [
|
|
52
|
+
"y",
|
|
53
|
+
"docType"
|
|
36
54
|
]
|
|
37
55
|
}
|
|
38
56
|
],
|
|
@@ -41,6 +59,6 @@
|
|
|
41
59
|
"host": {},
|
|
42
60
|
"requester": ""
|
|
43
61
|
},
|
|
44
|
-
"creationTime": "
|
|
62
|
+
"creationTime": "2013-05-28T12:00:00",
|
|
45
63
|
"timeStamp": "00000"
|
|
46
64
|
}
|
|
@@ -16,12 +16,22 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"type": "test",
|
|
19
|
-
"which": "
|
|
19
|
+
"which": "testaro",
|
|
20
20
|
"what": "elements with duplicate attributes",
|
|
21
21
|
"withItems": true,
|
|
22
22
|
"expect": [
|
|
23
|
-
[
|
|
24
|
-
|
|
23
|
+
[
|
|
24
|
+
"result.rules.dupAtt.data.total",
|
|
25
|
+
"=",
|
|
26
|
+
0
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
"result.rules.dupAtt.data.items.1"
|
|
30
|
+
]
|
|
31
|
+
],
|
|
32
|
+
"rules": [
|
|
33
|
+
"y",
|
|
34
|
+
"dupAtt"
|
|
25
35
|
]
|
|
26
36
|
},
|
|
27
37
|
{
|
|
@@ -31,13 +41,42 @@
|
|
|
31
41
|
},
|
|
32
42
|
{
|
|
33
43
|
"type": "test",
|
|
34
|
-
"which": "
|
|
44
|
+
"which": "testaro",
|
|
35
45
|
"what": "elements with duplicate attributes",
|
|
36
46
|
"withItems": true,
|
|
37
47
|
"expect": [
|
|
38
|
-
[
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
[
|
|
49
|
+
"result.rules.dupAtt.data.total",
|
|
50
|
+
"=",
|
|
51
|
+
2
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
"result.rules.dupAtt.data.items.0",
|
|
55
|
+
"e",
|
|
56
|
+
{
|
|
57
|
+
"tagName": "P",
|
|
58
|
+
"attributes": [
|
|
59
|
+
"class",
|
|
60
|
+
"id",
|
|
61
|
+
"class"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
"result.rules.dupAtt.data.items.1",
|
|
67
|
+
"e",
|
|
68
|
+
{
|
|
69
|
+
"tagName": "BUTTON",
|
|
70
|
+
"attributes": [
|
|
71
|
+
"aria-label",
|
|
72
|
+
"aria-label"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
],
|
|
77
|
+
"rules": [
|
|
78
|
+
"y",
|
|
79
|
+
"dupAtt"
|
|
41
80
|
]
|
|
42
81
|
}
|
|
43
82
|
],
|
|
@@ -46,6 +85,6 @@
|
|
|
46
85
|
"host": {},
|
|
47
86
|
"requester": ""
|
|
48
87
|
},
|
|
49
|
-
"creationTime": "
|
|
88
|
+
"creationTime": "2013-05-28T12:00:00",
|
|
50
89
|
"timeStamp": "00000"
|
|
51
90
|
}
|