testilo 43.2.2 → 43.3.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/README.md +5 -5
- package/package.json +1 -1
- package/procs/score/tic.js +7 -0
- package/script.js +1 -1
package/README.md
CHANGED
|
@@ -208,10 +208,10 @@ Here is a script:
|
|
|
208
208
|
deviceScaleFactor: 2,
|
|
209
209
|
isMobile: true,
|
|
210
210
|
hasTouch: true,
|
|
211
|
-
defaultBrowserType: '
|
|
211
|
+
defaultBrowserType: 'chromium'
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
|
-
browserID: '
|
|
214
|
+
browserID: 'chromium',
|
|
215
215
|
timeLimit: 80,
|
|
216
216
|
creationTimeStamp: ''
|
|
217
217
|
executionTimeStamp: '',
|
|
@@ -281,7 +281,7 @@ In its simplest form, `script()` requires 3 string arguments:
|
|
|
281
281
|
1. A description of the script
|
|
282
282
|
1. A device ID
|
|
283
283
|
|
|
284
|
-
Called in this way, `script()` produces a script that tells Testaro to perform the tests for all of the evaluation rules defined by all of the tools integrated by Testaro. In this case, the script launches a new
|
|
284
|
+
Called in this way, `script()` produces a script that tells Testaro to perform the tests for all of the evaluation rules defined by all of the tools integrated by Testaro. In this case, the script launches a new Chromium browser before performing the tests of each tool.
|
|
285
285
|
|
|
286
286
|
#### With options
|
|
287
287
|
|
|
@@ -371,7 +371,7 @@ When the `script` module creates a script for you, it does not ask you for all o
|
|
|
371
371
|
- `standard`: `'only'`
|
|
372
372
|
- `observe`: `false`
|
|
373
373
|
- `device.windowOptions.reduce-motion`: `'no-preference'`
|
|
374
|
-
- `browserID`: `'
|
|
374
|
+
- `browserID`: `'chromium'`
|
|
375
375
|
- `lowMotion`: `false`
|
|
376
376
|
- `timeLimit`: 50 plus 30 per tool
|
|
377
377
|
- `sources.id`: script ID
|
|
@@ -385,7 +385,7 @@ When the `script` module creates a script for you, it does not ask you for all o
|
|
|
385
385
|
|
|
386
386
|
The `device.windowOptions` object has, in addition to `reducedMotion`, other properties shown in the above script example. The `script` module will set them according to the specified device. If you specify `'default'` as the device ID, the only property will be `reducedMotion`.
|
|
387
387
|
|
|
388
|
-
The `
|
|
388
|
+
The `chromium` browser type is selected because in the latest testing it is more robust than the other browser types. The `ibm` test is performed on both the existing page content and a newly visited target, because under some conditions one of these may fail or they may deliver different results.
|
|
389
389
|
|
|
390
390
|
After you invoke `script`, you can edit the script that it creates to revise any of these options.
|
|
391
391
|
|
package/package.json
CHANGED
package/procs/score/tic.js
CHANGED
|
@@ -8821,6 +8821,13 @@ exports.issues = {
|
|
|
8821
8821
|
what: 'Element forces a page reload'
|
|
8822
8822
|
}
|
|
8823
8823
|
},
|
|
8824
|
+
axe: {
|
|
8825
|
+
'meta-refresh': {
|
|
8826
|
+
variable: false,
|
|
8827
|
+
quality: 1,
|
|
8828
|
+
what: 'Delayed refresh under 20 hours is used'
|
|
8829
|
+
}
|
|
8830
|
+
},
|
|
8824
8831
|
qualWeb: {
|
|
8825
8832
|
'QW-ACT-R4': {
|
|
8826
8833
|
variable: false,
|
package/script.js
CHANGED
|
@@ -157,7 +157,7 @@ exports.script = (id, what, deviceID, options = {}) => {
|
|
|
157
157
|
id: deviceID,
|
|
158
158
|
windowOptions: {}
|
|
159
159
|
},
|
|
160
|
-
browserID: '
|
|
160
|
+
browserID: 'chromium',
|
|
161
161
|
timeLimit: Math.round(50 + 30 * Object.keys(toolsRulesData).length),
|
|
162
162
|
creationTimeStamp: '',
|
|
163
163
|
executionTimeStamp: '',
|