@testomatio/reporter 2.3.3 → 2.3.4

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.
@@ -239,6 +239,12 @@ class TestomatioPipe {
239
239
  if (!process.env.TESTOMATIO_STACK_PASSED && data.status === constants_js_1.STATUS.PASSED) {
240
240
  data.stack = null;
241
241
  }
242
+ if (!process.env.TESTOMATIO_STEPS_PASSED && data.status === constants_js_1.STATUS.PASSED) {
243
+ data.steps = null;
244
+ }
245
+ if (process.env.TESTOMATIO_NO_STEPS) {
246
+ data.steps = null;
247
+ }
242
248
  const json = json_cycle_1.default.stringify(data);
243
249
  debug('Adding test', json);
244
250
  return this.client.request({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "engines": {
6
6
  "node": ">=18"
@@ -259,6 +259,14 @@ class TestomatioPipe {
259
259
  data.stack = null;
260
260
  }
261
261
 
262
+ if (!process.env.TESTOMATIO_STEPS_PASSED && data.status === STATUS.PASSED) {
263
+ data.steps = null;
264
+ }
265
+
266
+ if (process.env.TESTOMATIO_NO_STEPS) {
267
+ data.steps = null;
268
+ }
269
+
262
270
  const json = JsonCycle.stringify(data);
263
271
 
264
272
  debug('Adding test', json);