testaro 32.4.0 → 32.4.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 CHANGED
@@ -154,6 +154,9 @@ Here is an example of a job:
154
154
  what: 'Test W3C with 2 alfa rules',
155
155
  strict: true,
156
156
  timeLimit: 65,
157
+ standard: 'only',
158
+ observe: false,
159
+ timeStamp: '231208T1200',
157
160
  acts: [
158
161
  {
159
162
  type: 'launch',
@@ -178,8 +181,7 @@ Here is an example of a job:
178
181
  },
179
182
  requester: 'user@domain.org'
180
183
  },
181
- creationTime: '2024-12-10T14:28Z',
182
- timeStamp: '241213T1200'
184
+ creationTime: '2024-12-10T14:28Z'
183
185
  }
184
186
  ```
185
187
 
@@ -192,14 +194,16 @@ Job properties:
192
194
  - `what`: a description of the job.
193
195
  - `strict`: `true` or `false`, indicating whether _substantive redirections_ should be treated as failures. These are redirections that do more than add or subtract a final slash.
194
196
  - `timeLimit`: the number of seconds allowed for the execution of the job.
197
+ - `standard`: `'also'`, `'only'`, or `'no'`, indicating whether rule-violation instances are to be reported in tool-native formats and also in the Testaro standard format, only in the standard format, or only in the tool-native formats.
198
+ - `observe`: `true` or `false`, indicating whether tool and Testaro-rule invocations are to be reported as they occur to the server.
199
+ - `timeStamp`: a string in `yymmddThhMM` format, specifying a date and time before which the job is not to be performed.
195
200
  - `acts`: an array of the acts to be performed (documented below).
196
201
  - `sources`: an object describing where the job came from:
197
202
  - `script` (optional): the ID of the script from which the job was made.
198
203
  - `batch` (optional): a set of targets (URLs) from which the target of this job was drawn.
199
204
  - `target` (optional): an object describing the target being tested by this job.
200
205
  - `requester` (optional): the email address that should receive a notice of completion of the job.
201
- - `creationTime`: the time in ISO 8601 format when the job was created.
202
- - `timeStamp`: a string representing the date and time before which the job is not to be performed.
206
+ - `creationTime`: the date and time in ISO 8601 format when the job was created.
203
207
 
204
208
  ### Reports
205
209
 
package/netWatch.js CHANGED
@@ -64,6 +64,7 @@ const serveObject = (object, response) => {
64
64
  Arguments:
65
65
  0. whether to continue watching after a job is run.
66
66
  1: interval in seconds from a cycle of no-job checks to the next cycle.
67
+ 2. whether to ignore unknown-certificate errors from watched servers.
67
68
  */
68
69
  exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) => {
69
70
  const urls = jobURLSpec
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "32.4.0",
3
+ "version": "32.4.1",
4
4
  "description": "Run 900 web accessibility tests from 9 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {