@testomatio/reporter 1.2.2 → 1.2.3-beta-batch-upload
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/fileUploader.js +1 -7
- package/lib/pipe/html.js +45 -82
- package/lib/pipe/testomatio.js +49 -18
- package/lib/template/template-draft.hbs +249 -0
- package/lib/template/testomatio.hbs +337 -1185
- package/lib/utils/pipe_utils.js +0 -1
- package/lib/xmlReader.js +4 -0
- package/package.json +1 -1
package/lib/utils/pipe_utils.js
CHANGED
|
@@ -15,7 +15,6 @@ function setS3Credentials(artifacts) {
|
|
|
15
15
|
if (artifacts.REGION) process.env.S3_REGION = artifacts.REGION;
|
|
16
16
|
if (artifacts.BUCKET) process.env.S3_BUCKET = artifacts.BUCKET;
|
|
17
17
|
if (artifacts.ENDPOINT) process.env.S3_ENDPOINT = artifacts.ENDPOINT;
|
|
18
|
-
if (artifacts.SESSION_TOKEN) process.env.S3_SESSION_TOKEN = artifacts.SESSION_TOKEN;
|
|
19
18
|
if (artifacts.presign) process.env.TESTOMATIO_PRIVATE_ARTIFACTS = '1';
|
|
20
19
|
resetConfig();
|
|
21
20
|
}
|
package/lib/xmlReader.js
CHANGED
|
@@ -405,6 +405,10 @@ class XmlReader {
|
|
|
405
405
|
|
|
406
406
|
return Promise.all(this.pipes.map(p => p.finishRun(dataString)));
|
|
407
407
|
}
|
|
408
|
+
|
|
409
|
+
async _finishRun() {
|
|
410
|
+
return Promise.all(this.pipes.map(p => p.finishRun({ status: 'finished' })));
|
|
411
|
+
}
|
|
408
412
|
}
|
|
409
413
|
|
|
410
414
|
module.exports = XmlReader;
|