testilo 42.1.0 → 42.1.2
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 +2 -6
- package/package.json +1 -1
- package/procs/score/tic50.js +45 -0
package/README.md
CHANGED
|
@@ -215,7 +215,6 @@ Here is a script:
|
|
|
215
215
|
timeLimit: 80,
|
|
216
216
|
creationTimeStamp: ''
|
|
217
217
|
executionTimeStamp: '',
|
|
218
|
-
sendReportTo: 'https://abccorp.com/api/report',
|
|
219
218
|
target: {
|
|
220
219
|
what: '',
|
|
221
220
|
url: ''
|
|
@@ -262,7 +261,6 @@ A script has several properties that specify facts about the jobs to be created.
|
|
|
262
261
|
- `device`: This specifies the ID of a device and properties that each new browser context (window) will have that correspond to that device. The permitted devices are those (about 125 in number) [recognized by Playwright](https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/deviceDescriptorsSource.json), as well as `'default'`.
|
|
263
262
|
- `browserID`: This specifies the default browser type (`'chromium'`, `'firefox'`, or `'webkit'`) of the job.
|
|
264
263
|
- `creationTimeStamp` and `executionTimeStamp`: These properties will have values assigned to them when jobs are created from the script.
|
|
265
|
-
- `sendReportTo`: This is a URL that Testaro is to send its job reports to, or `''` if the jobs will not be network jobs.
|
|
266
264
|
- `target`: This object contains blank `url` and `what` properties, which will be populated each time the script is converted to a job.
|
|
267
265
|
- `sources.script`: This preserves the ID of the script. The `id` property may be revised to a job ID when the script is converted to a job.
|
|
268
266
|
- `sources.requester`: This is the email address to which a message announcing the completion of the job is to be sent, if any.
|
|
@@ -376,7 +374,6 @@ When the `script` module creates a script for you, it does not ask you for all o
|
|
|
376
374
|
- `browserID`: `'webkit'`
|
|
377
375
|
- `lowMotion`: `false`
|
|
378
376
|
- `timeLimit`: 50 plus 30 per tool
|
|
379
|
-
- `sendReportTo`: `process.env.SEND_REPORT_TO`, or `''` if none
|
|
380
377
|
- `sources.id`: script ID
|
|
381
378
|
- `sources.requester`: `''`
|
|
382
379
|
- test acts: `launch` = {}
|
|
@@ -480,7 +477,6 @@ Thus, a report produced by Testaro contains these properties:
|
|
|
480
477
|
- `timeLimit`
|
|
481
478
|
- `standard`
|
|
482
479
|
- `observe`
|
|
483
|
-
- `sendReportTo`
|
|
484
480
|
- `timeStamp`
|
|
485
481
|
- `acts`
|
|
486
482
|
- `sources`
|
|
@@ -809,8 +805,8 @@ The `report` argument is a scored report. The `summary` constant is an object. T
|
|
|
809
805
|
A user can invoke `summarize()` in either of these two ways:
|
|
810
806
|
|
|
811
807
|
```javaScript
|
|
812
|
-
node call summarize
|
|
813
|
-
node call summarize
|
|
808
|
+
node call summarize 'company divisions'
|
|
809
|
+
node call summarize 'company divisions' 2411
|
|
814
810
|
```
|
|
815
811
|
|
|
816
812
|
When a user invokes `summarize` in this example, the `call` module:
|
package/package.json
CHANGED
package/procs/score/tic50.js
CHANGED
|
@@ -2855,6 +2855,11 @@ exports.issues = {
|
|
|
2855
2855
|
variable: false,
|
|
2856
2856
|
quality: 1,
|
|
2857
2857
|
what: 'ARIA role is not contained by a required parent'
|
|
2858
|
+
},
|
|
2859
|
+
'Ensure elements with ARIA roles are within required parent roles.': {
|
|
2860
|
+
variable: false,
|
|
2861
|
+
quality: 1,
|
|
2862
|
+
what: 'ARIA role is not contained by a required parent'
|
|
2858
2863
|
}
|
|
2859
2864
|
}
|
|
2860
2865
|
}
|
|
@@ -4295,6 +4300,21 @@ exports.issues = {
|
|
|
4295
4300
|
}
|
|
4296
4301
|
}
|
|
4297
4302
|
},
|
|
4303
|
+
ariaVersusHTML: {
|
|
4304
|
+
summary: 'aria and HTML attributes have conflicting value',
|
|
4305
|
+
why: 'User gets erroneous help with content',
|
|
4306
|
+
wcag: '4.1.2',
|
|
4307
|
+
weight: 4,
|
|
4308
|
+
tools: {
|
|
4309
|
+
ibm: {
|
|
4310
|
+
aria_attribute_conflict: {
|
|
4311
|
+
variable: false,
|
|
4312
|
+
quality: 1,
|
|
4313
|
+
what: 'ARIA and HTML attributes on the same element have conflicting values'
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
},
|
|
4298
4318
|
ariaReferenceBad: {
|
|
4299
4319
|
summary: 'aria reference invalid',
|
|
4300
4320
|
why: 'Item behavior violates user expectations',
|
|
@@ -5703,6 +5723,11 @@ exports.issues = {
|
|
|
5703
5723
|
variable: false,
|
|
5704
5724
|
quality: 1,
|
|
5705
5725
|
what: 'Element is ul or ol but directly contains an element other than li, script, or template'
|
|
5726
|
+
},
|
|
5727
|
+
'Ensure lists are structured correctly with <li> elements.': {
|
|
5728
|
+
variable: false,
|
|
5729
|
+
quality: 1,
|
|
5730
|
+
what: 'List contains non-li items'
|
|
5706
5731
|
}
|
|
5707
5732
|
}
|
|
5708
5733
|
}
|
|
@@ -6835,6 +6860,21 @@ exports.issues = {
|
|
|
6835
6860
|
}
|
|
6836
6861
|
}
|
|
6837
6862
|
},
|
|
6863
|
+
targetsNear: {
|
|
6864
|
+
summary: 'small targets too near to each other',
|
|
6865
|
+
why: 'User cannot reliably choose an item to click or tap',
|
|
6866
|
+
wcag: '2.5.8',
|
|
6867
|
+
weight: 3,
|
|
6868
|
+
tools: {
|
|
6869
|
+
ibm: {
|
|
6870
|
+
target_spacing_sufficient: {
|
|
6871
|
+
variable: false,
|
|
6872
|
+
quality: 1,
|
|
6873
|
+
what: 'Small targets are not far enough apart'
|
|
6874
|
+
}
|
|
6875
|
+
}
|
|
6876
|
+
}
|
|
6877
|
+
},
|
|
6838
6878
|
visibleBulk: {
|
|
6839
6879
|
summary: 'large visible-element count',
|
|
6840
6880
|
why: 'User cannot easily find items in the document',
|
|
@@ -8514,6 +8554,11 @@ exports.issues = {
|
|
|
8514
8554
|
variable: false,
|
|
8515
8555
|
quality: 1,
|
|
8516
8556
|
what: 'Element has a positive tabIndex attribute'
|
|
8557
|
+
},
|
|
8558
|
+
'Remove or adjust tabindex attributes greater than zero.': {
|
|
8559
|
+
variable: false,
|
|
8560
|
+
quality: 1,
|
|
8561
|
+
what: 'Element has a positive tabIndex attribute'
|
|
8517
8562
|
}
|
|
8518
8563
|
}
|
|
8519
8564
|
}
|