@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.
- package/lib/pipe/testomatio.js +6 -0
- package/package.json +1 -1
- package/src/pipe/testomatio.js +8 -0
package/lib/pipe/testomatio.js
CHANGED
|
@@ -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
package/src/pipe/testomatio.js
CHANGED
|
@@ -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);
|