@testomatio/reporter 1.6.6-beta-detach-xml-1 → 1.6.6
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 +1 -0
- package/lib/xmlReader.js +1 -3
- package/package.json +1 -1
package/lib/client.js
CHANGED
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
|
|
24
|
+
const { TESTOMATIO_RUNGROUP_TITLE, TESTOMATIO_TITLE, TESTOMATIO_ENV, TESTOMATIO_RUN } = process.env;
|
|
25
25
|
|
|
26
26
|
const options = {
|
|
27
27
|
ignoreDeclaration: true,
|
|
@@ -41,7 +41,6 @@ class XmlReader {
|
|
|
41
41
|
title: TESTOMATIO_TITLE,
|
|
42
42
|
env: TESTOMATIO_ENV,
|
|
43
43
|
group_title: TESTOMATIO_RUNGROUP_TITLE,
|
|
44
|
-
detach: !!TESTOMATIO_MARK_DETACHED,
|
|
45
44
|
// batch uploading is implemented for xml already
|
|
46
45
|
isBatchEnabled: false,
|
|
47
46
|
};
|
|
@@ -426,7 +425,6 @@ class XmlReader {
|
|
|
426
425
|
const dataString = {
|
|
427
426
|
...this.stats,
|
|
428
427
|
api_key: this.requestParams.apiKey,
|
|
429
|
-
detach: this.requestParams.detach,
|
|
430
428
|
status: 'finished',
|
|
431
429
|
tests: this.tests,
|
|
432
430
|
};
|