@testomatio/reporter 1.6.5 → 1.6.6-beta-detach-xml-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.
Files changed (2) hide show
  1. package/lib/xmlReader.js +3 -1
  2. package/package.json +1 -1
package/lib/xmlReader.js CHANGED
@@ -21,7 +21,7 @@ const config = require('./config');
21
21
  const ridRunId = randomUUID();
22
22
 
23
23
  const TESTOMATIO_URL = process.env.TESTOMATIO_URL || 'https://app.testomat.io';
24
- const { TESTOMATIO_RUNGROUP_TITLE, TESTOMATIO_TITLE, TESTOMATIO_ENV, TESTOMATIO_RUN } = process.env;
24
+ const { TESTOMATIO_RUNGROUP_TITLE, TESTOMATIO_TITLE, TESTOMATIO_ENV, TESTOMATIO_RUN, TESTOMATIO_MARK_DETACHED } = process.env;
25
25
 
26
26
  const options = {
27
27
  ignoreDeclaration: true,
@@ -41,6 +41,7 @@ class XmlReader {
41
41
  title: TESTOMATIO_TITLE,
42
42
  env: TESTOMATIO_ENV,
43
43
  group_title: TESTOMATIO_RUNGROUP_TITLE,
44
+ detach: !!TESTOMATIO_MARK_DETACHED,
44
45
  // batch uploading is implemented for xml already
45
46
  isBatchEnabled: false,
46
47
  };
@@ -425,6 +426,7 @@ class XmlReader {
425
426
  const dataString = {
426
427
  ...this.stats,
427
428
  api_key: this.requestParams.apiKey,
429
+ detach: this.requestParams.detach,
428
430
  status: 'finished',
429
431
  tests: this.tests,
430
432
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.6.5",
3
+ "version": "1.6.6-beta-detach-xml-1",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",