@testomatio/reporter 1.0.14-beta → 1.0.15-beta

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.
@@ -88,8 +88,10 @@ class TestomatioPipe {
88
88
  shared_run: this.sharedRun,
89
89
  }).filter(([, value]) => !!value),
90
90
  );
91
+ debug('Run params', JSON.stringify(runParams, null, 2));
91
92
 
92
93
  if (this.runId) {
94
+ debug(`Run with id ${this.runId} already created, updating...`);
93
95
  const resp = await this.axios.put(`${this.url.trim()}/api/reporter/${this.runId}`, runParams);
94
96
  if (resp.data.artifacts) setS3Credentials(resp.data.artifacts);
95
97
  return;
@@ -109,6 +111,7 @@ class TestomatioPipe {
109
111
  this.store.runId = this.runId;
110
112
  console.log(APP_PREFIX, '📊 Report created. Report ID:', this.runId);
111
113
  process.env.runId = this.runId;
114
+ debug('Run created', this.runId);
112
115
  } catch (err) {
113
116
  console.error(
114
117
  APP_PREFIX,
@@ -116,7 +119,7 @@ class TestomatioPipe {
116
119
  err,
117
120
  );
118
121
  }
119
- debug('Run created');
122
+ debug('"createRun" function finished');
120
123
  }
121
124
 
122
125
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.0.14-beta",
3
+ "version": "1.0.15-beta",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",