wdio-qase-reporter 1.0.1 → 1.0.2
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/changelog.md +6 -0
- package/dist/reporter.js +13 -11
- package/package.json +1 -1
package/changelog.md
CHANGED
package/dist/reporter.js
CHANGED
|
@@ -194,18 +194,20 @@ class WDIOQaseReporter extends reporter_1.default {
|
|
|
194
194
|
if (testResult === undefined || this.storage.ignore) {
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
197
|
+
if (testResult.relations === null) {
|
|
198
|
+
const relations = {};
|
|
199
|
+
if (this.storage.suites.length > 0) {
|
|
200
|
+
relations.suite = {
|
|
201
|
+
data: this.storage.suites.map((suite) => {
|
|
202
|
+
return {
|
|
203
|
+
title: suite,
|
|
204
|
+
public_id: null,
|
|
205
|
+
};
|
|
206
|
+
}),
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
testResult.relations = relations;
|
|
207
210
|
}
|
|
208
|
-
testResult.relations = relations;
|
|
209
211
|
testResult.execution.duration = testResult.execution.start_time ? Math.round(end_time - testResult.execution.start_time) : 0;
|
|
210
212
|
testResult.execution.status = status;
|
|
211
213
|
testResult.execution.stacktrace = err === null ?
|