@qanalyzer/forge-wdio 1.2.0 → 1.2.1
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/dist/helpers.d.ts +1 -1
- package/dist/helpers.js +1 -1
- package/dist/reporter.js +13 -5
- package/package.json +1 -1
package/dist/helpers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Programmatic helpers for WebdriverIO Mocha specs (FR125–FR126).
|
|
3
|
-
* Prefer `qa.issueKey()` / `qa.issueKeys()` for FR43 (
|
|
3
|
+
* Prefer `qa.issueKey()` / `qa.issueKeys()` for FR43 (do not embed keys in titles).
|
|
4
4
|
*
|
|
5
5
|
* Steps: `await qa.step('name', async (step) => { await step.step('nested', ...) })`.
|
|
6
6
|
*
|
package/dist/helpers.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Programmatic helpers for WebdriverIO Mocha specs (FR125–FR126).
|
|
4
|
-
* Prefer `qa.issueKey()` / `qa.issueKeys()` for FR43 (
|
|
4
|
+
* Prefer `qa.issueKey()` / `qa.issueKeys()` for FR43 (do not embed keys in titles).
|
|
5
5
|
*
|
|
6
6
|
* Steps: `await qa.step('name', async (step) => { await step.step('nested', ...) })`.
|
|
7
7
|
*
|
package/dist/reporter.js
CHANGED
|
@@ -214,10 +214,15 @@ class QaWdioReporter extends reporter_1.default {
|
|
|
214
214
|
});
|
|
215
215
|
metadata_manager_1.MetadataManager.clear();
|
|
216
216
|
if (scenario.issueKeys.length > 0) {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
wire = {
|
|
218
|
+
...(wire ?? {}),
|
|
219
|
+
framework: 'wdio',
|
|
220
|
+
host: {
|
|
221
|
+
framework: 'wdio',
|
|
222
|
+
reporter: '@qanalyzer/forge-wdio',
|
|
223
|
+
},
|
|
224
|
+
issueKeys: [...scenario.issueKeys],
|
|
225
|
+
};
|
|
221
226
|
}
|
|
222
227
|
// Prefer buffered Gherkin step outcomes (includes skipped)
|
|
223
228
|
if (scenario.steps.length > 0) {
|
|
@@ -232,7 +237,10 @@ class QaWdioReporter extends reporter_1.default {
|
|
|
232
237
|
wire = {
|
|
233
238
|
...(wire ?? {}),
|
|
234
239
|
framework: 'wdio',
|
|
235
|
-
|
|
240
|
+
host: {
|
|
241
|
+
framework: 'wdio',
|
|
242
|
+
reporter: '@qanalyzer/forge-wdio',
|
|
243
|
+
},
|
|
236
244
|
steps: stepsWire,
|
|
237
245
|
};
|
|
238
246
|
}
|