@testomatio/reporter 1.2.2 → 1.2.3-beta.upload-s3

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.
@@ -23,7 +23,7 @@ const keys = [
23
23
  'S3_SESSION_TOKEN',
24
24
  'TESTOMATIO_DISABLE_ARTIFACTS',
25
25
  'TESTOMATIO_PRIVATE_ARTIFACTS',
26
- 'S3_FORCE_PATH_STYLE',
26
+ 'S3_FORCE_PATH_STYLE',
27
27
  ];
28
28
 
29
29
  let config;
@@ -75,8 +75,7 @@ const _getFileExtBase64 = str => {
75
75
  };
76
76
 
77
77
  const _getS3Config = () => {
78
- const { S3_REGION, S3_SESSION_TOKEN, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, S3_FORCE_PATH_STYLE, S3_ENDPOINT } =
79
- getConfig();
78
+ const { S3_REGION, S3_SESSION_TOKEN, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, S3_FORCE_PATH_STYLE, S3_ENDPOINT } = getConfig();
80
79
 
81
80
  const cfg = {
82
81
  region: S3_REGION,
@@ -176,6 +176,8 @@ class TestomatioPipe {
176
176
  this.runUrl = `${this.url}/${resp.data.url.split('/').splice(3).join('/')}`;
177
177
  this.runPublicUrl = resp.data.public_url;
178
178
 
179
+ console.log(resp.data.artifacts);
180
+
179
181
  if (resp.data.artifacts) setS3Credentials(resp.data.artifacts);
180
182
 
181
183
  this.store.runUrl = this.runUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.2.2",
3
+ "version": "1.2.3-beta.upload-s3",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",