@testomatio/reporter 2.3.0-beta.3-playwright-tags → 2.3.0-beta.4-playwright-tags
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/lib/client.js +2 -1
- package/package.json +1 -1
- package/src/client.js +2 -0
package/lib/client.js
CHANGED
|
@@ -182,7 +182,7 @@ class Client {
|
|
|
182
182
|
/**
|
|
183
183
|
* @type {TestData}
|
|
184
184
|
*/
|
|
185
|
-
const { rid, error = null, time = 0, example = null, files = [], filesBuffers = [], steps, code = null, title, file, suite_title, suite_id, test_id, timestamp, manuallyAttachedArtifacts, overwrite, } = testData;
|
|
185
|
+
const { rid, error = null, time = 0, example = null, files = [], filesBuffers = [], steps, code = null, title, file, suite_title, suite_id, test_id, timestamp, manuallyAttachedArtifacts, overwrite, tags, } = testData;
|
|
186
186
|
let { message = '', meta = {} } = testData;
|
|
187
187
|
// stringify meta values and limit keys and values length to 255
|
|
188
188
|
meta = Object.entries(meta)
|
|
@@ -273,6 +273,7 @@ class Client {
|
|
|
273
273
|
meta,
|
|
274
274
|
links,
|
|
275
275
|
overwrite,
|
|
276
|
+
tags,
|
|
276
277
|
...(rootSuiteId && { root_suite_id: rootSuiteId }),
|
|
277
278
|
};
|
|
278
279
|
// debug('Adding test run...', data);
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -184,6 +184,7 @@ class Client {
|
|
|
184
184
|
timestamp,
|
|
185
185
|
manuallyAttachedArtifacts,
|
|
186
186
|
overwrite,
|
|
187
|
+
tags,
|
|
187
188
|
} = testData;
|
|
188
189
|
let { message = '', meta = {} } = testData;
|
|
189
190
|
|
|
@@ -284,6 +285,7 @@ class Client {
|
|
|
284
285
|
meta,
|
|
285
286
|
links,
|
|
286
287
|
overwrite,
|
|
288
|
+
tags,
|
|
287
289
|
...(rootSuiteId && { root_suite_id: rootSuiteId }),
|
|
288
290
|
};
|
|
289
291
|
|