testaro 60.13.0 → 60.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/AGENTS.md +6 -2
  2. package/CONTRIBUTING.md +9 -24
  3. package/LICENSE +1 -1
  4. package/README.md +7 -24
  5. package/UPGRADES.md +13 -28
  6. package/VALIDATION_README.md +7 -24
  7. package/aceconfig.js +3 -18
  8. package/actSpecs.js +4 -19
  9. package/call.js +3 -18
  10. package/data/template.js +3 -18
  11. package/dirWatch.js +3 -18
  12. package/netWatch.js +4 -19
  13. package/package.json +2 -1
  14. package/procs/aslint.js +3 -18
  15. package/procs/dateOf.js +3 -18
  16. package/procs/doTestAct.js +4 -19
  17. package/procs/getLocatorData.js +3 -18
  18. package/procs/getSource.js +3 -18
  19. package/procs/identify.js +3 -18
  20. package/procs/isInlineLink.js +5 -19
  21. package/procs/job.js +3 -18
  22. package/procs/sample.js +3 -18
  23. package/procs/screenShot.js +1 -1
  24. package/procs/shoot.js +1 -1
  25. package/procs/standardize.js +4 -19
  26. package/procs/target.js +4 -19
  27. package/procs/tellServer.js +3 -18
  28. package/procs/testaro.js +5 -19
  29. package/procs/visChange.js +4 -19
  30. package/pw-aslint-claude.js +1 -1
  31. package/run.js +9 -23
  32. package/scripts/dumpAlts.js +4 -19
  33. package/testaro/adbID.js +5 -20
  34. package/testaro/allCaps.js +4 -19
  35. package/testaro/allHidden.js +4 -19
  36. package/testaro/allSlanted.js +4 -19
  37. package/testaro/altScheme.js +5 -20
  38. package/testaro/attVal.js +3 -18
  39. package/testaro/autocomplete.js +4 -19
  40. package/testaro/bulk.js +4 -19
  41. package/testaro/buttonMenu.js +4 -19
  42. package/testaro/captionLoc.js +5 -20
  43. package/testaro/datalistRef.js +5 -20
  44. package/testaro/distortion.js +4 -19
  45. package/testaro/docType.js +3 -18
  46. package/testaro/dupAtt.js +3 -18
  47. package/testaro/elements.js +3 -18
  48. package/testaro/embAc.js +3 -18
  49. package/testaro/focAll.js +4 -19
  50. package/testaro/focAndOp.js +4 -19
  51. package/testaro/focInd.js +4 -19
  52. package/testaro/focVis.js +4 -19
  53. package/testaro/headEl.js +4 -19
  54. package/testaro/headingAmb.js +3 -18
  55. package/testaro/hovInd.js +4 -19
  56. package/testaro/hover.js +6 -21
  57. package/testaro/imageLink.js +4 -19
  58. package/testaro/labClash.js +29 -48
  59. package/testaro/legendLoc.js +4 -19
  60. package/testaro/lineHeight.js +4 -19
  61. package/testaro/linkAmb.js +67 -54
  62. package/testaro/linkTitle.js +4 -19
  63. package/testaro/linkUl.js +4 -19
  64. package/testaro/miniText.js +5 -20
  65. package/testaro/motion.js +2 -2
  66. package/testaro/motionSolo.js +4 -19
  67. package/testaro/nonTable.js +4 -19
  68. package/testaro/optRoleSel.js +4 -19
  69. package/testaro/phOnly.js +27 -52
  70. package/testaro/pseudoP.json +10 -0
  71. package/testaro/radioSet.js +60 -107
  72. package/testaro/role.js +25 -80
  73. package/testaro/secHeading.js +40 -45
  74. package/testaro/shoot0.js +1 -1
  75. package/testaro/shoot1.js +1 -1
  76. package/testaro/styleDiff.js +3 -18
  77. package/testaro/tabNav.js +4 -19
  78. package/testaro/targetSmall.js +4 -19
  79. package/testaro/targetTiny.js +4 -19
  80. package/testaro/textNodes.js +3 -18
  81. package/testaro/textSem.js +4 -19
  82. package/testaro/title.js +3 -18
  83. package/testaro/zIndex.js +3 -18
  84. package/tests/alfa.js +4 -19
  85. package/tests/aslint.js +4 -19
  86. package/tests/axe.js +4 -19
  87. package/tests/ed11y.js +4 -19
  88. package/tests/htmlcs.js +3 -18
  89. package/tests/ibm.js +4 -19
  90. package/tests/nuVal.js +3 -18
  91. package/tests/qualWeb.js +3 -18
  92. package/tests/testaro.js +7 -22
  93. package/tests/wave.js +3 -18
  94. package/tests/wax.js +4 -19
  95. package/validation/done/README.md +8 -23
  96. package/validation/executors/dirWatch.js +4 -19
  97. package/validation/executors/netWatch.js +3 -18
  98. package/validation/executors/run.js +3 -18
  99. package/validation/executors/test.js +3 -18
  100. package/validation/executors/tests.js +3 -18
  101. package/validation/jobs/done/README.md +9 -0
  102. package/validation/jobs/todo/README.md +3 -16
  103. package/validation/tests/targets/adbID/index.html +3 -18
  104. package/validation/tests/targets/allCaps/index.html +3 -18
  105. package/validation/tests/targets/allHidden/ariaHiddenBody.html +3 -18
  106. package/validation/tests/targets/allHidden/good.html +3 -18
  107. package/validation/tests/targets/allHidden/hiddenMain.html +3 -18
  108. package/validation/tests/targets/allHidden/mixedHidden.html +3 -18
  109. package/validation/tests/targets/allHidden/noBody.html +4 -19
  110. package/validation/tests/targets/allHidden/noMain.html +4 -19
  111. package/validation/tests/targets/allHidden/noneDoc.html +3 -18
  112. package/validation/tests/targets/allHidden/visHiddenMain.html +3 -18
  113. package/validation/tests/targets/allSlanted/index.html +3 -18
  114. package/validation/tests/targets/altScheme/index.html +3 -18
  115. package/validation/tests/targets/attVal/bad.html +3 -18
  116. package/validation/tests/targets/attVal/good.html +3 -18
  117. package/validation/tests/targets/autocomplete/bad.html +3 -18
  118. package/validation/tests/targets/autocomplete/good.html +3 -18
  119. package/validation/tests/targets/bulk/bad.html +3 -18
  120. package/validation/tests/targets/bulk/good.html +3 -18
  121. package/validation/tests/targets/buttonMenu/bad.html +3 -18
  122. package/validation/tests/targets/buttonMenu/bad.js +3 -18
  123. package/validation/tests/targets/buttonMenu/good.html +3 -18
  124. package/validation/tests/targets/buttonMenu/good.js +3 -18
  125. package/validation/tests/targets/buttonMenu/style.css +3 -18
  126. package/validation/tests/targets/captionLoc/index.html +3 -18
  127. package/validation/tests/targets/datalistRef/index.html +3 -18
  128. package/validation/tests/targets/distortion/index.html +3 -18
  129. package/validation/tests/targets/docType/bad.html +3 -18
  130. package/validation/tests/targets/docType/good.html +3 -18
  131. package/validation/tests/targets/dupAtt/bad.html +3 -18
  132. package/validation/tests/targets/dupAtt/good.html +3 -18
  133. package/validation/tests/targets/elements/index.html +3 -18
  134. package/validation/tests/targets/embAc/bad.html +3 -18
  135. package/validation/tests/targets/embAc/good.html +3 -18
  136. package/validation/tests/targets/focAll/good.html +3 -18
  137. package/validation/tests/targets/focAll/less.html +3 -18
  138. package/validation/tests/targets/focAll/more.html +3 -18
  139. package/validation/tests/targets/focInd/bad.html +4 -19
  140. package/validation/tests/targets/focInd/good.html +3 -18
  141. package/validation/tests/targets/focOp/bad.html +3 -18
  142. package/validation/tests/targets/focOp/good.html +3 -18
  143. package/validation/tests/targets/focVis/index.html +3 -18
  144. package/validation/tests/targets/headEl/index.html +3 -18
  145. package/validation/tests/targets/headingAmb/index.html +3 -18
  146. package/validation/tests/targets/hovInd/index.html +4 -19
  147. package/validation/tests/targets/hover/bad.html +3 -18
  148. package/validation/tests/targets/hover/good.html +3 -18
  149. package/validation/tests/targets/hr/index.html +3 -18
  150. package/validation/tests/targets/imageLink/index.html +3 -18
  151. package/validation/tests/targets/labClash/bad.html +3 -18
  152. package/validation/tests/targets/labClash/good.html +3 -18
  153. package/validation/tests/targets/legendLoc/index.html +3 -18
  154. package/validation/tests/targets/lineHeight/index.html +3 -18
  155. package/validation/tests/targets/linkAmb/index.html +5 -20
  156. package/validation/tests/targets/linkExt/index.html +3 -18
  157. package/validation/tests/targets/linkOldAtt/index.html +3 -18
  158. package/validation/tests/targets/linkTitle/index.html +3 -18
  159. package/validation/tests/targets/linkTo/index.html +3 -18
  160. package/validation/tests/targets/linkUl/bad.html +4 -19
  161. package/validation/tests/targets/linkUl/good.html +4 -19
  162. package/validation/tests/targets/linkUl/na.html +4 -19
  163. package/validation/tests/targets/miniText/index.html +3 -18
  164. package/validation/tests/targets/motion/bad.css +3 -18
  165. package/validation/tests/targets/motion/bad.html +3 -18
  166. package/validation/tests/targets/motion/good.html +3 -18
  167. package/validation/tests/targets/nonTable/index.html +3 -18
  168. package/validation/tests/targets/opFoc/bad.html +3 -18
  169. package/validation/tests/targets/opFoc/good.html +3 -18
  170. package/validation/tests/targets/optRoleSel/index.html +3 -18
  171. package/validation/tests/targets/phOnly/index.html +4 -19
  172. package/validation/tests/targets/pseudoP/index.html +3 -18
  173. package/validation/tests/targets/radioSet/bad.html +3 -18
  174. package/validation/tests/targets/radioSet/good.html +3 -18
  175. package/validation/tests/targets/role/bad.html +4 -19
  176. package/validation/tests/targets/role/good.html +3 -18
  177. package/validation/tests/targets/secHeading/index.html +7 -22
  178. package/validation/tests/targets/styleDiff/bad.html +3 -18
  179. package/validation/tests/targets/styleDiff/good.html +3 -18
  180. package/validation/tests/targets/tabNav/bad.html +3 -18
  181. package/validation/tests/targets/tabNav/bad.js +3 -18
  182. package/validation/tests/targets/tabNav/good.html +3 -18
  183. package/validation/tests/targets/tabNav/good.js +3 -18
  184. package/validation/tests/targets/tabNav/style.css +3 -18
  185. package/validation/tests/targets/targetSize/index.html +4 -19
  186. package/validation/tests/targets/textNodes/index.html +3 -18
  187. package/validation/tests/targets/textSem/index.html +3 -18
  188. package/validation/tests/targets/title/bad.html +3 -18
  189. package/validation/tests/targets/title/good.html +3 -18
  190. package/validation/tests/targets/titledEl/index.html +3 -18
  191. package/validation/tests/targets/zIndex/bad.html +3 -18
  192. package/validation/tests/targets/zIndex/good.html +3 -18
  193. package/validation/validateTest.js +4 -19
  194. package/validation/watch/done/README.md +5 -20
  195. package/validation/watch/todo/README.md +5 -20
  196. package/testaro/hover-draft0.js +0 -110
  197. package/testaro/hover-draft1.js +0 -185
  198. package/testaro/hover-draft2.js +0 -183
  199. package/testaro/hover-draft3.js +0 -143
  200. package/testaro/hover-orig.js +0 -109
  201. package/testaro/pseudoP.js +0 -66
package/procs/sample.js CHANGED
@@ -1,25 +1,10 @@
1
1
  /*
2
2
  © 2023 CVS Health and/or one of its affiliates. All rights reserved.
3
3
 
4
- MIT License
4
+ Licensed under the MIT License. See LICENSE file at the project root or
5
+ https://opensource.org/license/mit/ for details.
5
6
 
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
7
+ SPDX-License-Identifier: MIT
23
8
  */
24
9
 
25
10
  /*
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  © 2023–2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
  Licensed under the MIT License. See LICENSE file for details.
5
5
  */
6
6
 
package/procs/shoot.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- © 2025 Jonathan Robert Pool. All rights reserved.
2
+ © 2025 Jonathan Robert Pool.
3
3
  Licensed under the MIT License. See LICENSE file for details.
4
4
  */
5
5
 
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023–2024 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
package/procs/target.js CHANGED
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023–2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -1,25 +1,10 @@
1
1
  /*
2
2
  © 2023–2024 CVS Health and/or one of its affiliates. All rights reserved.
3
3
 
4
- MIT License
4
+ Licensed under the MIT License. See LICENSE file at the project root or
5
+ https://opensource.org/license/mit/ for details.
5
6
 
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
7
+ SPDX-License-Identifier: MIT
23
8
  */
24
9
 
25
10
  /*
package/procs/testaro.js CHANGED
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023–2024 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -170,6 +155,7 @@ exports.doTest = async (
170
155
  ) => {
171
156
  // Return totals and standard instances for the rule.
172
157
  return await page.evaluate(async args => {
158
+ // Get the arguments (summaryTagName must be upper-case or null).
173
159
  const [
174
160
  withItems,
175
161
  ruleID,
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023–2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -1,5 +1,5 @@
1
1
  /*
2
- © 2025 Jonathan Robert Pool. All rights reserved.
2
+ © 2025 Jonathan Robert Pool.
3
3
  Licensed under the MIT License. See LICENSE file for details.
4
4
  */
5
5
 
package/run.js CHANGED
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2021–2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -509,7 +494,7 @@ const launch = exports.launch = async (
509
494
  window.getInstance = (
510
495
  element, ruleID, what, count = 1, ordinalSeverity, summaryTagName = ''
511
496
  ) => {
512
- // If the element exists:
497
+ // If an element has been specified:
513
498
  if (element) {
514
499
  // Get its properties.
515
500
  const boxData = element.getBoundingClientRect();
@@ -518,8 +503,9 @@ const launch = exports.launch = async (
518
503
  });
519
504
  const {x, y, width, height} = boxData;
520
505
  const {tagName, id = ''} = element;
521
- const rawExcerpt = element.textContent.trim() || element.outerHTML.trim();
522
- const excerpt = rawExcerpt.replace(/\s+/g, ' ').slice(0, 200);
506
+ const rawExcerpt = (element.textContent.trim() || element.outerHTML.trim())
507
+ .replace(/\s+/g, ' ');
508
+ const excerpt = rawExcerpt.slice(0, 200);
523
509
  // Return an itemized instance.
524
510
  return {
525
511
  ruleID,
@@ -543,7 +529,7 @@ const launch = exports.launch = async (
543
529
  pathID: window.getXPath(element)
544
530
  };
545
531
  }
546
- // Otherwise, i.e. if no element exists, return a summary instance.
532
+ // Otherwise, i.e. if no element has been specified, return a summary instance.
547
533
  return {
548
534
  ruleID,
549
535
  what,
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  const { chromium } = require('playwright');
package/testaro/adbID.js CHANGED
@@ -1,27 +1,12 @@
1
1
  /*
2
2
  © 2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Juan S. Casado. All rights reserved.
4
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Juan S. Casado.
4
+ © 2025 Jonathan Robert Pool.
5
5
 
6
- MIT License
6
+ Licensed under the MIT License. See LICENSE file at the project root or
7
+ https://opensource.org/license/mit/ for details.
7
8
 
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in all
16
- copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
- SOFTWARE.
9
+ SPDX-License-Identifier: MIT
25
10
  */
26
11
 
27
12
  /*
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -1,27 +1,12 @@
1
1
  /*
2
2
  © 2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Juan S. Casado. All rights reserved.
4
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Juan S. Casado.
4
+ © 2025 Jonathan Robert Pool.
5
5
 
6
- MIT License
6
+ Licensed under the MIT License. See LICENSE file at the project root or
7
+ https://opensource.org/license/mit/ for details.
7
8
 
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in all
16
- copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
- SOFTWARE.
9
+ SPDX-License-Identifier: MIT
25
10
  */
26
11
 
27
12
  /*
package/testaro/attVal.js CHANGED
@@ -1,25 +1,10 @@
1
1
  /*
2
2
  © 2023 CVS Health and/or one of its affiliates. All rights reserved.
3
3
 
4
- MIT License
4
+ Licensed under the MIT License. See LICENSE file at the project root or
5
+ https://opensource.org/license/mit/ for details.
5
6
 
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
7
+ SPDX-License-Identifier: MIT
23
8
  */
24
9
 
25
10
  /*
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
package/testaro/bulk.js CHANGED
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2021–2023 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -1,26 +1,11 @@
1
1
  /*
2
2
  © 2023–2024 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Jonathan Robert Pool.
4
4
 
5
- MIT License
5
+ Licensed under the MIT License. See LICENSE file at the project root or
6
+ https://opensource.org/license/mit/ for details.
6
7
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
8
+ SPDX-License-Identifier: MIT
24
9
  */
25
10
 
26
11
  /*
@@ -1,27 +1,12 @@
1
1
  /*
2
2
  © 2025 CVS Health and/or one of its affiliates. All rights reserved.
3
- © 2025 Juan S. Casado. All rights reserved.
4
- © 2025 Jonathan Robert Pool. All rights reserved.
3
+ © 2025 Juan S. Casado.
4
+ © 2025 Jonathan Robert Pool.
5
5
 
6
- MIT License
6
+ Licensed under the MIT License. See LICENSE file at the project root or
7
+ https://opensource.org/license/mit/ for details.
7
8
 
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in all
16
- copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
- SOFTWARE.
9
+ SPDX-License-Identifier: MIT
25
10
  */
26
11
 
27
12
  /*